1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
49 address generate_klass_exception_handler(const char* name) { |
49 address generate_klass_exception_handler(const char* name) { |
50 return generate_exception_handler_common(name, NULL, true); |
50 return generate_exception_handler_common(name, NULL, true); |
51 } |
51 } |
52 address generate_exception_handler_common(const char* name, const char* message, bool pass_oop); |
52 address generate_exception_handler_common(const char* name, const char* message, bool pass_oop); |
53 address generate_ClassCastException_handler(); |
53 address generate_ClassCastException_handler(); |
54 address generate_ArrayIndexOutOfBounds_handler(const char* name); |
54 address generate_ArrayIndexOutOfBounds_handler(); |
55 address generate_return_entry_for(TosState state, int step, size_t index_size); |
55 address generate_return_entry_for(TosState state, int step, size_t index_size); |
56 address generate_earlyret_entry_for(TosState state); |
56 address generate_earlyret_entry_for(TosState state); |
57 address generate_deopt_entry_for(TosState state, int step, address continuation = NULL); |
57 address generate_deopt_entry_for(TosState state, int step, address continuation = NULL); |
58 address generate_safept_entry_for(TosState state, address runtime_entry); |
58 address generate_safept_entry_for(TosState state, address runtime_entry); |
59 void generate_throw_exception(); |
59 void generate_throw_exception(); |