Mercurial > hg > truffle
comparison src/cpu/zero/vm/interpreter_zero.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 | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
21 * or visit www.oracle.com if you need additional information or have any | 21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. | 22 * questions. |
23 * | 23 * |
24 */ | 24 */ |
25 | 25 |
26 #ifndef CPU_ZERO_VM_INTERPRETER_ZERO_HPP | |
27 #define CPU_ZERO_VM_INTERPRETER_ZERO_HPP | |
28 | |
26 public: | 29 public: |
27 static void invoke_method(methodOop method, address entry_point, TRAPS) { | 30 static void invoke_method(methodOop method, address entry_point, TRAPS) { |
28 ((ZeroEntry *) entry_point)->invoke(method, THREAD); | 31 ((ZeroEntry *) entry_point)->invoke(method, THREAD); |
29 } | 32 } |
30 static void invoke_osr(methodOop method, | 33 static void invoke_osr(methodOop method, |
45 | 48 |
46 static int local_index_at(int i) { | 49 static int local_index_at(int i) { |
47 assert(i <= 0, "local direction already negated"); | 50 assert(i <= 0, "local direction already negated"); |
48 return stackElementWords * i; | 51 return stackElementWords * i; |
49 } | 52 } |
53 | |
54 #endif // CPU_ZERO_VM_INTERPRETER_ZERO_HPP |