src/cpu/sparc/vm/interpreter_sparc.hpp
Print this page
*** 20,29 ****
--- 20,32 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef CPU_SPARC_VM_INTERPRETER_SPARC_HPP
+ #define CPU_SPARC_VM_INTERPRETER_SPARC_HPP
+
public:
static int expr_offset_in_bytes(int i) { return stackElementSize * i + wordSize; }
// Stack index relative to tos (which points at value)
*** 32,36 ****
--- 35,41 ----
// Already negated by c++ interpreter
static int local_index_at(int i) {
assert(i <= 0, "local direction already negated");
return stackElementWords * i;
}
+
+ #endif // CPU_SPARC_VM_INTERPRETER_SPARC_HPP