22 *
23 */
24
25 #ifndef SHARE_VM_C1_C1_RUNTIME1_HPP
26 #define SHARE_VM_C1_C1_RUNTIME1_HPP
27
28 #include "c1/c1_FrameMap.hpp"
29 #include "code/stubs.hpp"
30 #include "interpreter/interpreter.hpp"
31 #include "memory/allocation.hpp"
32 #include "runtime/deoptimization.hpp"
33
34 class StubAssembler;
35
36 // The Runtime1 holds all assembly stubs and VM
37 // runtime routines needed by code code generated
38 // by the Compiler1.
39
40 #define RUNTIME1_STUBS(stub, last_entry) \
41 stub(dtrace_object_alloc) \
42 stub(unwind_exception) \
43 stub(forward_exception) \
44 stub(throw_range_check_failed) /* throws ArrayIndexOutOfBoundsException */ \
45 stub(throw_index_exception) /* throws IndexOutOfBoundsException */ \
46 stub(throw_div0_exception) \
47 stub(throw_null_pointer_exception) \
48 stub(register_finalizer) \
49 stub(new_instance) \
50 stub(fast_new_instance) \
51 stub(fast_new_instance_init_check) \
52 stub(new_type_array) \
53 stub(new_object_array) \
54 stub(new_multi_array) \
55 stub(handle_exception_nofpu) /* optimized version that does not preserve fpu registers */ \
56 stub(handle_exception) \
57 stub(handle_exception_from_callee) \
58 stub(throw_array_store_exception) \
59 stub(throw_class_cast_exception) \
60 stub(throw_incompatible_class_change_error) \
61 stub(slow_subtype_check) \
|
22 *
23 */
24
25 #ifndef SHARE_VM_C1_C1_RUNTIME1_HPP
26 #define SHARE_VM_C1_C1_RUNTIME1_HPP
27
28 #include "c1/c1_FrameMap.hpp"
29 #include "code/stubs.hpp"
30 #include "interpreter/interpreter.hpp"
31 #include "memory/allocation.hpp"
32 #include "runtime/deoptimization.hpp"
33
34 class StubAssembler;
35
36 // The Runtime1 holds all assembly stubs and VM
37 // runtime routines needed by code code generated
38 // by the Compiler1.
39
40 #define RUNTIME1_STUBS(stub, last_entry) \
41 stub(dtrace_object_alloc) \
42 stub(heap_object_sample) \
43 stub(unwind_exception) \
44 stub(forward_exception) \
45 stub(throw_range_check_failed) /* throws ArrayIndexOutOfBoundsException */ \
46 stub(throw_index_exception) /* throws IndexOutOfBoundsException */ \
47 stub(throw_div0_exception) \
48 stub(throw_null_pointer_exception) \
49 stub(register_finalizer) \
50 stub(new_instance) \
51 stub(fast_new_instance) \
52 stub(fast_new_instance_init_check) \
53 stub(new_type_array) \
54 stub(new_object_array) \
55 stub(new_multi_array) \
56 stub(handle_exception_nofpu) /* optimized version that does not preserve fpu registers */ \
57 stub(handle_exception) \
58 stub(handle_exception_from_callee) \
59 stub(throw_array_store_exception) \
60 stub(throw_class_cast_exception) \
61 stub(throw_incompatible_class_change_error) \
62 stub(slow_subtype_check) \
|