Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalVMToCompiler.cpp @ 13375:e8c4a6ea3f77
cleaned up VMToCompiler.createResolvedJavaType
author | twisti |
---|---|
date | Tue, 17 Dec 2013 20:58:58 -0800 |
parents | dfb780080923 |
children | 2f37b0e442fe |
line wrap: on
line diff
--- a/src/share/vm/graal/graalVMToCompiler.cpp Tue Dec 17 21:25:27 2013 -0800 +++ b/src/share/vm/graal/graalVMToCompiler.cpp Tue Dec 17 20:58:58 2013 -0800 @@ -239,17 +239,11 @@ return (oop) result.get_jobject(); } -oop VMToCompiler::createResolvedJavaType(Klass* klass, Handle name, Handle simpleName, Handle java_mirror, jint sizeOrSpecies, TRAPS) { - assert(!name.is_null(), "just checking"); - assert(!simpleName.is_null(), "just checking"); +oop VMToCompiler::createResolvedJavaType(Handle java_mirror, TRAPS) { JavaValue result(T_OBJECT); JavaCallArguments args; args.push_oop(instance()); - args.push_long((jlong) (address) klass); - args.push_oop(name); - args.push_oop(simpleName); args.push_oop(java_mirror); - args.push_int(sizeOrSpecies); JavaCalls::call_interface(&result, vmToCompilerKlass(), vmSymbols::createResolvedJavaType_name(), vmSymbols::createResolvedJavaType_signature(), &args, THREAD); check_pending_exception("Error while calling createResolvedJavaType"); return (oop) result.get_jobject();