changeset 720:69aefafe69c1

6824463: deopt blob is testing wrong register on 64-bit x86 Reviewed-by: jrose, phh, kvn
author never
date Tue, 31 Mar 2009 15:09:45 -0700
parents d3676b4cb78c
children 90e3155a713d
files src/cpu/x86/vm/sharedRuntime_x86_64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/x86/vm/sharedRuntime_x86_64.cpp	Tue Mar 31 10:02:01 2009 -0700
+++ b/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