comparison src/share/vm/graal/graalRuntime.hpp @ 7145:6c46172c04bf

consolidated new_type_array and new_object_array stubs into one as there no difference between them
author Doug Simon <doug.simon@oracle.com>
date Fri, 07 Dec 2012 18:26:26 +0100
parents 1baf7f1e3f23
children 5d0bb7d52783 2ae3e26b7e9a
comparison
equal deleted inserted replaced
7144:ae69cd8c08a9 7145:6c46172c04bf
78 // runtime routines needed by code code generated 78 // runtime routines needed by code code generated
79 // by Graal. 79 // by Graal.
80 #define GRAAL_STUBS(stub, last_entry) \ 80 #define GRAAL_STUBS(stub, last_entry) \
81 stub(graal_register_finalizer) \ 81 stub(graal_register_finalizer) \
82 stub(graal_new_instance) \ 82 stub(graal_new_instance) \
83 stub(graal_new_type_array) \ 83 stub(graal_new_array) \
84 stub(graal_new_object_array) \
85 stub(graal_new_multi_array) \ 84 stub(graal_new_multi_array) \
86 stub(graal_handle_exception_nofpu) /* optimized version that does not preserve fpu registers */ \ 85 stub(graal_handle_exception_nofpu) /* optimized version that does not preserve fpu registers */ \
87 stub(graal_slow_subtype_check) \ 86 stub(graal_slow_subtype_check) \
88 stub(graal_unwind_exception_call) \ 87 stub(graal_unwind_exception_call) \
89 stub(graal_OSR_migration_end) \ 88 stub(graal_OSR_migration_end) \
126 125
127 static OopMapSet* generate_stub_call(GraalStubAssembler* sasm, Register result, address entry, 126 static OopMapSet* generate_stub_call(GraalStubAssembler* sasm, Register result, address entry,
128 Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg); 127 Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg);
129 128
130 // runtime entry points 129 // runtime entry points
131 static void new_instance (JavaThread* thread, Klass* klass); 130 static void new_instance(JavaThread* thread, Klass* klass);
132 static void new_type_array (JavaThread* thread, Klass* klass, jint length); 131 static void new_array(JavaThread* thread, Klass* klass, jint length);
133 static void new_object_array(JavaThread* thread, Klass* klass, jint length); 132 static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims);
134 static void new_multi_array (JavaThread* thread, Klass* klass, int rank, jint* dims);
135 133
136 static void unimplemented_entry (JavaThread* thread, StubID id); 134 static void unimplemented_entry(JavaThread* thread, StubID id);
137 135
138 static address exception_handler_for_pc(JavaThread* thread); 136 static address exception_handler_for_pc(JavaThread* thread);
139 137
140 static void graal_create_null_exception(JavaThread* thread); 138 static void graal_create_null_exception(JavaThread* thread);
141 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index); 139 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index);