Mercurial > hg > truffle
comparison src/cpu/sparc/vm/interpreter_sparc.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #ifndef CPU_SPARC_VM_INTERPRETER_SPARC_HPP | |
26 #define CPU_SPARC_VM_INTERPRETER_SPARC_HPP | |
27 | |
25 public: | 28 public: |
26 | 29 |
27 static int expr_offset_in_bytes(int i) { return stackElementSize * i + wordSize; } | 30 static int expr_offset_in_bytes(int i) { return stackElementSize * i + wordSize; } |
28 | 31 |
29 // Stack index relative to tos (which points at value) | 32 // Stack index relative to tos (which points at value) |
32 // Already negated by c++ interpreter | 35 // Already negated by c++ interpreter |
33 static int local_index_at(int i) { | 36 static int local_index_at(int i) { |
34 assert(i <= 0, "local direction already negated"); | 37 assert(i <= 0, "local direction already negated"); |
35 return stackElementWords * i; | 38 return stackElementWords * i; |
36 } | 39 } |
40 | |
41 #endif // CPU_SPARC_VM_INTERPRETER_SPARC_HPP |