comparison 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
comparison
equal deleted inserted replaced
3362:d4c1fbc3de95 3363:167b70ff3abc
24 24
25 #ifndef CPU_X86_VM_INTERPRETER_X86_HPP 25 #ifndef CPU_X86_VM_INTERPRETER_X86_HPP
26 #define CPU_X86_VM_INTERPRETER_X86_HPP 26 #define CPU_X86_VM_INTERPRETER_X86_HPP
27 27
28 public: 28 public:
29 static Address::ScaleFactor stackElementScale() { return Address::times_4; } 29 static Address::ScaleFactor stackElementScale() {
30 return NOT_LP64(Address::times_4) LP64_ONLY(Address::times_8);
31 }
30 32
31 // Offset from rsp (which points to the last stack element) 33 // Offset from rsp (which points to the last stack element)
32 static int expr_offset_in_bytes(int i) { return stackElementSize * i; } 34 static int expr_offset_in_bytes(int i) { return stackElementSize * i; }
33 35
34 // Stack index relative to tos (which points at value) 36 // Stack index relative to tos (which points at value)