Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalVMExits.cpp @ 3632:136ea96eb7f8
Remove the need for VmId (last usage was the constant pool).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 14 Nov 2011 22:33:15 +0100 |
parents | 5e9645341ec3 |
children | c7d4198a9bce |
comparison
equal
deleted
inserted
replaced
3630:3b18b27b0dd4 | 3632:136ea96eb7f8 |
---|---|
223 JavaCalls::call_interface(&result, vmExitsKlass(), vmSymbols::createRiTypeUnresolved_name(), vmSymbols::createRiTypeUnresolved_signature(), &args, THREAD); | 223 JavaCalls::call_interface(&result, vmExitsKlass(), vmSymbols::createRiTypeUnresolved_name(), vmSymbols::createRiTypeUnresolved_signature(), &args, THREAD); |
224 check_pending_exception("Error while calling createRiTypeUnresolved"); | 224 check_pending_exception("Error while calling createRiTypeUnresolved"); |
225 return (oop) result.get_jobject(); | 225 return (oop) result.get_jobject(); |
226 } | 226 } |
227 | 227 |
228 oop VMExits::createRiConstantPool(jlong vmId, TRAPS) { | |
229 JavaValue result(T_OBJECT); | |
230 JavaCallArguments args; | |
231 args.push_oop(instance()); | |
232 args.push_long(vmId); | |
233 JavaCalls::call_interface(&result, vmExitsKlass(), vmSymbols::createRiConstantPool_name(), vmSymbols::createRiConstantPool_signature(), &args, THREAD); | |
234 check_pending_exception("Error while calling createRiConstantPool"); | |
235 return (oop) result.get_jobject(); | |
236 } | |
237 | |
238 oop VMExits::createRiSignature(Handle name, TRAPS) { | 228 oop VMExits::createRiSignature(Handle name, TRAPS) { |
239 assert(!name.is_null(), "just checking"); | 229 assert(!name.is_null(), "just checking"); |
240 JavaValue result(T_OBJECT); | 230 JavaValue result(T_OBJECT); |
241 JavaCallArguments args; | 231 JavaCallArguments args; |
242 args.push_oop(instance()); | 232 args.push_oop(instance()); |