6824463: deopt blob is testing wrong register on 64-bit x86

Reviewed-by: jrose, phh, kvn
This commit is contained in:
Tom Rodriguez 2009-03-31 15:09:45 -07:00
parent aee9449305
commit b857081608

View File

@ -2691,7 +2691,7 @@ void SharedRuntime::generate_deopt_blob() {
__ 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