--- a/hotspot/src/cpu/x86/vm/icache_x86.cpp Tue Aug 26 15:49:40 2008 -0700
+++ b/hotspot/src/cpu/x86/vm/icache_x86.cpp Wed Aug 27 00:21:55 2008 -0700
@@ -48,7 +48,7 @@
__ bind(flush_line);
__ clflush(Address(addr, 0));
- __ addq(addr, ICache::line_size);
+ __ addptr(addr, ICache::line_size);
__ decrementl(lines);
__ jcc(Assembler::notZero, flush_line);
@@ -60,7 +60,7 @@
const Address magic(rsp, 3*wordSize);
__ lock(); __ addl(Address(rsp, 0), 0);
#endif // AMD64
- __ movl(rax, magic); // Handshake with caller to make sure it happened!
+ __ movptr(rax, magic); // Handshake with caller to make sure it happened!
__ ret(0);
// Must be set here so StubCodeMark destructor can call the flush stub.