src/share/vm/interpreter/bytecodeStream.hpp

Print this page

        

*** 20,29 **** --- 20,45 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_INTERPRETER_BYTECODESTREAM_HPP + #define SHARE_VM_INTERPRETER_BYTECODESTREAM_HPP + + #include "interpreter/bytecode.hpp" + #include "memory/allocation.hpp" + #include "oops/methodOop.hpp" + #ifdef TARGET_ARCH_x86 + # include "bytes_x86.hpp" + #endif + #ifdef TARGET_ARCH_sparc + # include "bytes_sparc.hpp" + #endif + #ifdef TARGET_ARCH_zero + # include "bytes_zero.hpp" + #endif + // A BytecodeStream is used for fast iteration over the bytecodes // of a methodOop. // // Usage: //
*** 212,216 **** --- 228,234 ---- return bytecode()->get_index_u2_cpcache(raw_code()); } int get_index_u4() const { assert_raw_stream(false); return bytecode()->get_index_u4(raw_code()); } bool has_index_u4() const { return bytecode()->has_index_u4(raw_code()); } }; + + #endif // SHARE_VM_INTERPRETER_BYTECODESTREAM_HPP