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) \
62 stub(monitorenter) \
63 stub(monitorenter_nofpu) /* optimized version that does not preserve fpu registers */ \
64 stub(monitorexit) \
65 stub(monitorexit_nofpu) /* optimized version that does not preserve fpu registers */ \
66 stub(deoptimize) \
67 stub(access_field_patching) \
68 stub(load_klass_patching) \
69 stub(load_mirror_patching) \
70 stub(load_appendix_patching) \
71 stub(fpu2long_stub) \
72 stub(counter_overflow) \
73 stub(predicate_failed_trap) \
74 last_entry(number_of_ids)
75
76 #define DECLARE_STUB_ID(x) x ## _id ,
77 #define DECLARE_LAST_STUB_ID(x) x
78 #define STUB_NAME(x) #x " Runtime1 stub",
79 #define LAST_STUB_NAME(x) #x " Runtime1 stub"
80
81 class StubAssemblerCodeGenClosure: public Closure {
82 public:
83 virtual OopMapSet* generate_code(StubAssembler* sasm) = 0;
84 };
85
|
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) \
62 stub(monitorenter) \
63 stub(monitorenter_nofpu) /* optimized version that does not preserve fpu registers */ \
64 stub(monitorexit) \
65 stub(monitorexit_nofpu) /* optimized version that does not preserve fpu registers */ \
66 stub(load_klass) \
67 stub(deoptimize) \
68 stub(access_field_patching) \
69 stub(load_klass_patching) \
70 stub(load_mirror_patching) \
71 stub(load_appendix_patching) \
72 stub(fpu2long_stub) \
73 stub(counter_overflow) \
74 stub(predicate_failed_trap) \
75 last_entry(number_of_ids)
76
77 #define DECLARE_STUB_ID(x) x ## _id ,
78 #define DECLARE_LAST_STUB_ID(x) x
79 #define STUB_NAME(x) #x " Runtime1 stub",
80 #define LAST_STUB_NAME(x) #x " Runtime1 stub"
81
82 class StubAssemblerCodeGenClosure: public Closure {
83 public:
84 virtual OopMapSet* generate_code(StubAssembler* sasm) = 0;
85 };
86
|