src/cpu/x86/vm/templateTable_x86_32.cpp

changeset 542
93b6525e3b82
parent 435
a61af66fc99e
child 631
d1605aabd0a1
child 777
37f87013dfd8
     1.1 --- a/src/cpu/x86/vm/templateTable_x86_32.cpp	Mon Apr 07 15:15:16 2008 -0700
     1.2 +++ b/src/cpu/x86/vm/templateTable_x86_32.cpp	Tue Apr 08 12:23:15 2008 -0400
     1.3 @@ -1632,7 +1632,7 @@
     1.4        // We need to prepare to execute the OSR method. First we must
     1.5        // migrate the locals and monitors off of the stack.
     1.6  
     1.7 -      __ movl(rsi, rax);                             // save the nmethod
     1.8 +      __ movl(rbx, rax);                             // save the nmethod
     1.9  
    1.10        const Register thread = rcx;
    1.11        __ get_thread(thread);
    1.12 @@ -1688,7 +1688,7 @@
    1.13        __ pushl(rdi);
    1.14  
    1.15        // and begin the OSR nmethod
    1.16 -      __ jmp(Address(rsi, nmethod::osr_entry_point_offset()));
    1.17 +      __ jmp(Address(rbx, nmethod::osr_entry_point_offset()));
    1.18      }
    1.19    }
    1.20  }

mercurial