Mercurial > hg > truffle
diff src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 682: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 | 7bb995fbd3c0 |
children | fe95187e8882 |
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