changeset 533:081e91e3e8f3

6824463: deopt blob is testing wrong register on 64-bit x86 Reviewed-by: jrose, phh, kvn
author never
date Tue, 07 Apr 2009 17:08:40 -0700
parents 748572b86af6
children 1ddf2a5238c6
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 Apr 07 14:46:48 2009 -0700
+++ b/src/cpu/x86/vm/sharedRuntime_x86_64.cpp	Tue Apr 07 17:08:40 2009 -0700
@@ -2689,7 +2689,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