equal
deleted
inserted
replaced
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 SHARE_VM_INTERPRETER_BYTECODE_HPP |
|
26 #define SHARE_VM_INTERPRETER_BYTECODE_HPP |
|
27 |
|
28 #include "interpreter/bytecodes.hpp" |
|
29 #include "memory/allocation.hpp" |
|
30 #include "oops/methodOop.hpp" |
|
31 #ifdef TARGET_ARCH_x86 |
|
32 # include "bytes_x86.hpp" |
|
33 #endif |
|
34 #ifdef TARGET_ARCH_sparc |
|
35 # include "bytes_sparc.hpp" |
|
36 #endif |
|
37 #ifdef TARGET_ARCH_zero |
|
38 # include "bytes_zero.hpp" |
|
39 #endif |
|
40 |
25 // Base class for different kinds of abstractions working |
41 // Base class for different kinds of abstractions working |
26 // relative to an objects 'this' pointer. |
42 // relative to an objects 'this' pointer. |
27 |
43 |
28 class ThisRelativeObj VALUE_OBJ_CLASS_SPEC { |
44 class ThisRelativeObj VALUE_OBJ_CLASS_SPEC { |
29 public: |
45 public: |
429 inline Bytecode_loadconstant* Bytecode_loadconstant_at(methodHandle method, int bci) { |
445 inline Bytecode_loadconstant* Bytecode_loadconstant_at(methodHandle method, int bci) { |
430 Bytecode_loadconstant* b = new Bytecode_loadconstant(method, bci); |
446 Bytecode_loadconstant* b = new Bytecode_loadconstant(method, bci); |
431 DEBUG_ONLY(b->verify()); |
447 DEBUG_ONLY(b->verify()); |
432 return b; |
448 return b; |
433 } |
449 } |
|
450 |
|
451 #endif // SHARE_VM_INTERPRETER_BYTECODE_HPP |