hotspot/src/share/vm/interpreter/bytecode.hpp
changeset 7397 5b173b4ca846
parent 5882 6b2aecc4f7d8
child 7913 dd096a83bdbb
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    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