Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/interpreter_x86.hpp @ 3363:167b70ff3abc
6939861: JVM should handle more conversion operations
Reviewed-by: twisti, jrose
author | never |
---|---|
date | Fri, 06 May 2011 16:33:13 -0700 |
parents | 638119ce7cfd |
children |
line wrap: on
line diff
--- a/src/cpu/x86/vm/interpreter_x86.hpp Fri May 06 12:12:29 2011 -0700 +++ b/src/cpu/x86/vm/interpreter_x86.hpp Fri May 06 16:33:13 2011 -0700 @@ -26,7 +26,9 @@ #define CPU_X86_VM_INTERPRETER_X86_HPP public: - static Address::ScaleFactor stackElementScale() { return Address::times_4; } + static Address::ScaleFactor stackElementScale() { + return NOT_LP64(Address::times_4) LP64_ONLY(Address::times_8); + } // Offset from rsp (which points to the last stack element) static int expr_offset_in_bytes(int i) { return stackElementSize * i; }