equal
deleted
inserted
replaced
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 |
|
25 #ifndef SHARE_VM_INTERPRETER_INTERPRETER_HPP |
|
26 #define SHARE_VM_INTERPRETER_INTERPRETER_HPP |
|
27 |
|
28 #include "code/stubs.hpp" |
|
29 #include "interpreter/cppInterpreter.hpp" |
|
30 #include "interpreter/templateInterpreter.hpp" |
|
31 #ifdef ZERO |
|
32 #ifdef TARGET_ARCH_zero |
|
33 # include "entry_zero.hpp" |
|
34 #endif |
|
35 #endif |
24 |
36 |
25 // This file contains the platform-independent parts |
37 // This file contains the platform-independent parts |
26 // of the interpreter and the interpreter generator. |
38 // of the interpreter and the interpreter generator. |
27 |
39 |
28 //------------------------------------------------------------------------------------------------------------------------ |
40 //------------------------------------------------------------------------------------------------------------------------ |
129 class Interpreter: public CC_INTERP_ONLY(CppInterpreter) NOT_CC_INTERP(TemplateInterpreter) { |
141 class Interpreter: public CC_INTERP_ONLY(CppInterpreter) NOT_CC_INTERP(TemplateInterpreter) { |
130 |
142 |
131 public: |
143 public: |
132 // Debugging/printing |
144 // Debugging/printing |
133 static InterpreterCodelet* codelet_containing(address pc) { return (InterpreterCodelet*)_code->stub_containing(pc); } |
145 static InterpreterCodelet* codelet_containing(address pc) { return (InterpreterCodelet*)_code->stub_containing(pc); } |
134 #include "incls/_interpreter_pd.hpp.incl" |
146 #ifdef TARGET_ARCH_x86 |
|
147 # include "interpreter_x86.hpp" |
|
148 #endif |
|
149 #ifdef TARGET_ARCH_sparc |
|
150 # include "interpreter_sparc.hpp" |
|
151 #endif |
|
152 #ifdef TARGET_ARCH_zero |
|
153 # include "interpreter_zero.hpp" |
|
154 #endif |
|
155 |
135 }; |
156 }; |
|
157 |
|
158 #endif // SHARE_VM_INTERPRETER_INTERPRETER_HPP |