6824463: deopt blob is testing wrong register on 64-bit x86
authornever
Tue, 31 Mar 2009 15:09:45 -0700
changeset 2349 d438a6c62f88
parent 2343 6113864ecd70
child 2350 0c1e6e520065
6824463: deopt blob is testing wrong register on 64-bit x86 Reviewed-by: jrose, phh, kvn
hotspot/src/cpu/x86/vm/sharedRuntime_x86_64.cpp
--- a/hotspot/src/cpu/x86/vm/sharedRuntime_x86_64.cpp	Tue Mar 31 10:02:01 2009 -0700
+++ b/hotspot/src/cpu/x86/vm/sharedRuntime_x86_64.cpp	Tue Mar 31 15:09:45 2009 -0700
@@ -2691,7 +2691,7 @@
   __ mov(rdi, rax);
 
    Label noException;
-  __ cmpl(r12, Deoptimization::Unpack_exception);   // Was exception pending?
+  __ cmpl(r14, Deoptimization::Unpack_exception);   // Was exception pending?
   __ jcc(Assembler::notEqual, noException);
   __ movptr(rax, Address(r15_thread, JavaThread::exception_oop_offset()));
   // QQQ this is useless it was NULL above