Mercurial > hg > graal-compiler
comparison src/share/vm/interpreter/interpreterRuntime.cpp @ 6831:d8ce2825b193
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Summary: Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
author | coleenp |
---|---|
date | Sat, 29 Sep 2012 06:40:00 -0400 |
parents | 4bfe8b33cf66 |
children | 6e5a59a8e4a7 |
comparison
equal
deleted
inserted
replaced
6811:1b582b1bf7cb | 6831:d8ce2825b193 |
---|---|
209 for (int index = 0; index < nof_dims; index++) { | 209 for (int index = 0; index < nof_dims; index++) { |
210 // offset from first_size_address is addressed as local[index] | 210 // offset from first_size_address is addressed as local[index] |
211 int n = Interpreter::local_offset_in_bytes(index)/jintSize; | 211 int n = Interpreter::local_offset_in_bytes(index)/jintSize; |
212 dims[index] = first_size_address[n]; | 212 dims[index] = first_size_address[n]; |
213 } | 213 } |
214 oop obj = arrayKlass::cast(klass)->multi_allocate(nof_dims, dims, CHECK); | 214 oop obj = ArrayKlass::cast(klass)->multi_allocate(nof_dims, dims, CHECK); |
215 thread->set_vm_result(obj); | 215 thread->set_vm_result(obj); |
216 IRT_END | 216 IRT_END |
217 | 217 |
218 | 218 |
219 IRT_ENTRY(void, InterpreterRuntime::register_finalizer(JavaThread* thread, oopDesc* obj)) | 219 IRT_ENTRY(void, InterpreterRuntime::register_finalizer(JavaThread* thread, oopDesc* obj)) |