diff src/cpu/x86/vm/c1_LIRAssembler_x86.cpp @ 1832:22e4420d19f7

Merge
author kvn
date Wed, 06 Oct 2010 14:18:32 -0700
parents 5511edd5d719 a3f7f95b0165
children c393f046f4c5
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp	Fri Oct 01 18:04:36 2010 -0700
+++ b/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp	Wed Oct 06 14:18:32 2010 -0700
@@ -488,7 +488,9 @@
   }
 
   if (compilation()->env()->dtrace_method_probes()) {
-    __ movoop(Address(rsp, 0), method()->constant_encoding());
+    __ get_thread(rax);
+    __ movptr(Address(rsp, 0), rax);
+    __ movoop(Address(rsp, sizeof(void*)), method()->constant_encoding());
     __ call(RuntimeAddress(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit)));
   }