src/cpu/x86/vm/runtime_x86_32.cpp

changeset 1803
93767e6a2dfd
parent 1570
e66fd840cb6b
child 1907
c18cbe5936b8
child 1922
110501f54a99
     1.1 --- a/src/cpu/x86/vm/runtime_x86_32.cpp	Wed Apr 07 12:39:27 2010 -0700
     1.2 +++ b/src/cpu/x86/vm/runtime_x86_32.cpp	Thu Apr 08 10:55:40 2010 +0200
     1.3 @@ -115,8 +115,8 @@
     1.4  
     1.5    // rax: exception handler for given <exception oop/exception pc>
     1.6  
     1.7 -  // Restore SP from BP if the exception PC is a MethodHandle call.
     1.8 -  __ cmpl(Address(rcx, JavaThread::is_method_handle_exception_offset()), 0);
     1.9 +  // Restore SP from BP if the exception PC is a MethodHandle call site.
    1.10 +  __ cmpl(Address(rcx, JavaThread::is_method_handle_return_offset()), 0);
    1.11    __ cmovptr(Assembler::notEqual, rsp, rbp);
    1.12  
    1.13    // We have a handler in rax, (could be deopt blob)

mercurial