Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalVMToCompiler.cpp @ 7786:8bbbde9d0a52
extended ResolvedJavaMethod API by getLocalVariableTable
author | Matthias Grimmer <grimmer@ssw.jku.at> |
---|---|
date | Wed, 13 Feb 2013 13:34:05 +0100 |
parents | 0bf1c1c658c2 |
children | bc26f978b0ce |
comparison
equal
deleted
inserted
replaced
7785:f180d2a1c3a4 | 7786:8bbbde9d0a52 |
---|---|
265 JavaCalls::call_static(&result, klass(), vmSymbols::forObject_name(), vmSymbols::createConstantObject_signature(), object, THREAD); | 265 JavaCalls::call_static(&result, klass(), vmSymbols::forObject_name(), vmSymbols::createConstantObject_signature(), object, THREAD); |
266 check_pending_exception("Error while calling Constant.forObject"); | 266 check_pending_exception("Error while calling Constant.forObject"); |
267 return (oop) result.get_jobject(); | 267 return (oop) result.get_jobject(); |
268 } | 268 } |
269 | 269 |
270 oop VMToCompiler::createLocal(Handle name, Handle typeInfo, int bci_start, int bci_end, int slot, Handle holder, TRAPS) { | |
271 JavaValue result(T_OBJECT); | |
272 JavaCallArguments args; | |
273 args.push_oop(instance()); | |
274 args.push_oop(name); | |
275 args.push_oop(typeInfo); | |
276 args.push_oop(holder); | |
277 args.push_int(bci_start); | |
278 args.push_int(bci_end); | |
279 args.push_int(slot); | |
280 JavaCalls::call_interface(&result, vmToCompilerKlass(), vmSymbols::createLocalImpl_name(), vmSymbols::createLocalImpl_signature(), &args, THREAD); | |
281 check_pending_exception("Error while calling createConstantFloat"); | |
282 return (oop) result.get_jobject(); | |
283 | |
284 } | |
285 |