diff src/share/vm/graal/graalCodeInstaller.cpp @ 4319:3c21eee8ab4d

Add installMethodCallback() to HotSpotRuntime. Re-add tail call node and opcode.
author Andreas Woess <andreas.woess@jku.at>
date Tue, 24 Jan 2012 19:17:28 +0100
parents 382523fc390c
children 597bc897257d
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp	Mon Jan 23 12:21:06 2012 +0100
+++ b/src/share/vm/graal/graalCodeInstaller.cpp	Tue Jan 24 19:17:28 2012 +0100
@@ -275,10 +275,10 @@
 
   int stack_slots = _total_frame_size / HeapWordSize; // conversion to words
   methodHandle method = getMethodFromHotSpotMethod(HotSpotTargetMethod::method(JNIHandles::resolve(target_method_obj))); 
-  {
-    nm = GraalEnv::register_method(method, -1, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table,
-      &_implicit_exception_table, GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, true, false, install_code);
-  }
+
+  nm = GraalEnv::register_method(method, -1, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table,
+    &_implicit_exception_table, GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, true, false, install_code);
+
   method->clear_queued_for_compilation();
 }