diff src/share/vm/graal/graalVMToCompiler.cpp @ 13262:f13f6dc290c8

don't pass HotSpotResolvedObjectType to VMToCompiler.compileMethod but instead create it in Java code
author twisti
date Sun, 08 Dec 2013 14:33:38 -0800
parents 42aaf7306707
children dfb780080923
line wrap: on
line diff
--- a/src/share/vm/graal/graalVMToCompiler.cpp	Sun Dec 08 13:27:52 2013 -0800
+++ b/src/share/vm/graal/graalVMToCompiler.cpp	Sun Dec 08 14:33:38 2013 -0800
@@ -111,15 +111,13 @@
   check_pending_exception("Error while calling finalizeOptions");
 }
 
-void VMToCompiler::compileMethod(Method* method, Handle holder, int entry_bci, jboolean blocking) {
+void VMToCompiler::compileMethod(Method* method, int entry_bci, jboolean blocking) {
   assert(method != NULL, "just checking");
-  assert(!holder.is_null(), "just checking");
   Thread* THREAD = Thread::current();
   JavaValue result(T_VOID);
   JavaCallArguments args;
   args.push_oop(instance());
   args.push_long((jlong) (address) method);
-  args.push_oop(holder());
   args.push_int(entry_bci);
   args.push_int(blocking);
   JavaCalls::call_interface(&result, vmToCompilerKlass(), vmSymbols::compileMethod_name(), vmSymbols::compileMethod_signature(), &args, THREAD);