Mercurial > hg > truffle
comparison src/share/vm/interpreter/interpreterRuntime.cpp @ 6840:6e5a59a8e4a7
Merge
author | rbackman |
---|---|
date | Tue, 09 Oct 2012 07:41:27 +0200 |
parents | f6b0eb4e44cf d8ce2825b193 |
children | 64672b22ef05 070d523b96a7 |
comparison
equal
deleted
inserted
replaced
6830:81e878c53615 | 6840:6e5a59a8e4a7 |
---|---|
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)) |