--- a/hotspot/src/cpu/x86/vm/templateTable_x86_32.cpp Mon Apr 07 15:15:16 2008 -0700
+++ b/hotspot/src/cpu/x86/vm/templateTable_x86_32.cpp Tue Apr 08 12:23:15 2008 -0400
@@ -1632,7 +1632,7 @@
// We need to prepare to execute the OSR method. First we must
// migrate the locals and monitors off of the stack.
- __ movl(rsi, rax); // save the nmethod
+ __ movl(rbx, rax); // save the nmethod
const Register thread = rcx;
__ get_thread(thread);
@@ -1688,7 +1688,7 @@
__ pushl(rdi);
// and begin the OSR nmethod
- __ jmp(Address(rsi, nmethod::osr_entry_point_offset()));
+ __ jmp(Address(rbx, nmethod::osr_entry_point_offset()));
}
}
}