1.1 --- a/src/cpu/x86/vm/interpreter_x86.hpp Fri May 06 12:12:29 2011 -0700 1.2 +++ b/src/cpu/x86/vm/interpreter_x86.hpp Fri May 06 16:33:13 2011 -0700 1.3 @@ -26,7 +26,9 @@ 1.4 #define CPU_X86_VM_INTERPRETER_X86_HPP 1.5 1.6 public: 1.7 - static Address::ScaleFactor stackElementScale() { return Address::times_4; } 1.8 + static Address::ScaleFactor stackElementScale() { 1.9 + return NOT_LP64(Address::times_4) LP64_ONLY(Address::times_8); 1.10 + } 1.11 1.12 // Offset from rsp (which points to the last stack element) 1.13 static int expr_offset_in_bytes(int i) { return stackElementSize * i; }