hotspot/src/cpu/x86/vm/stubGenerator_x86_32.cpp
changeset 19319 0ad35be0733a
parent 18740 db44b1599483
child 22505 4523090c9674
equal deleted inserted replaced
19318:7425be18f6f4 19319:0ad35be0733a
   673 
   673 
   674     // make sure klass is 'reasonable', which is not zero.
   674     // make sure klass is 'reasonable', which is not zero.
   675     __ movptr(rax, Address(rax, oopDesc::klass_offset_in_bytes())); // get klass
   675     __ movptr(rax, Address(rax, oopDesc::klass_offset_in_bytes())); // get klass
   676     __ testptr(rax, rax);
   676     __ testptr(rax, rax);
   677     __ jcc(Assembler::zero, error);              // if klass is NULL it is broken
   677     __ jcc(Assembler::zero, error);              // if klass is NULL it is broken
   678     // TODO: Future assert that klass is lower 4g memory for UseCompressedKlassPointers
       
   679 
   678 
   680     // return if everything seems ok
   679     // return if everything seems ok
   681     __ bind(exit);
   680     __ bind(exit);
   682     __ movptr(rax, Address(rsp, 5 * wordSize));  // get saved rax, back
   681     __ movptr(rax, Address(rsp, 5 * wordSize));  // get saved rax, back
   683     __ pop(rdx);                                 // restore rdx
   682     __ pop(rdx);                                 // restore rdx