Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalVMToCompiler.cpp @ 7048:2a1ec8b0bfe0
remove createSignature from CompilerToVM interface
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 27 Nov 2012 17:29:42 +0100 |
parents | e522a00b91aa |
children | 0bf1c1c658c2 |
comparison
equal
deleted
inserted
replaced
7047:3269254a9b25 | 7048:2a1ec8b0bfe0 |
---|---|
232 JavaCalls::call_interface(&result, vmToCompilerKlass(), vmSymbols::createResolvedJavaType_name(), vmSymbols::createResolvedJavaType_signature(), &args, THREAD); | 232 JavaCalls::call_interface(&result, vmToCompilerKlass(), vmSymbols::createResolvedJavaType_name(), vmSymbols::createResolvedJavaType_signature(), &args, THREAD); |
233 check_pending_exception("Error while calling createResolvedJavaType"); | 233 check_pending_exception("Error while calling createResolvedJavaType"); |
234 return (oop) result.get_jobject(); | 234 return (oop) result.get_jobject(); |
235 } | 235 } |
236 | 236 |
237 oop VMToCompiler::createSignature(Handle name, TRAPS) { | |
238 assert(!name.is_null(), "just checking"); | |
239 JavaValue result(T_OBJECT); | |
240 JavaCallArguments args; | |
241 args.push_oop(instance()); | |
242 args.push_oop(name); | |
243 JavaCalls::call_interface(&result, vmToCompilerKlass(), vmSymbols::createSignature_name(), vmSymbols::createSignature_signature(), &args, THREAD); | |
244 check_pending_exception("Error while calling createSignature"); | |
245 return (oop) result.get_jobject(); | |
246 } | |
247 | |
248 oop VMToCompiler::createConstant(Handle kind, jlong value, TRAPS) { | 237 oop VMToCompiler::createConstant(Handle kind, jlong value, TRAPS) { |
249 JavaValue result(T_OBJECT); | 238 JavaValue result(T_OBJECT); |
250 JavaCallArguments args; | 239 JavaCallArguments args; |
251 args.push_oop(instance()); | 240 args.push_oop(instance()); |
252 args.push_oop(kind()); | 241 args.push_oop(kind()); |