src/share/vm/interpreter/bytecodes.hpp
Print this page
*** 20,29 ****
--- 20,35 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_INTERPRETER_BYTECODES_HPP
+ #define SHARE_VM_INTERPRETER_BYTECODES_HPP
+
+ #include "memory/allocation.hpp"
+ #include "utilities/top.hpp"
+
// Bytecodes specifies all bytecodes used in the VM and
// provides utility functions to get bytecode attributes.
// NOTE: replicated in SA in vm/agent/sun/jvm/hotspot/interpreter/Bytecodes.java
class Bytecodes: AllStatic {
*** 277,287 ****
_return_register_finalizer ,
_shouldnotreachhere, // For debugging
// Platform specific JVM bytecodes
! #include "incls/_bytecodes_pd.hpp.incl"
number_of_codes
};
// Flag bits derived from format strings, can_trap, can_rewrite, etc.:
--- 283,302 ----
_return_register_finalizer ,
_shouldnotreachhere, // For debugging
// Platform specific JVM bytecodes
! #ifdef TARGET_ARCH_x86
! # include "bytecodes_x86.hpp"
! #endif
! #ifdef TARGET_ARCH_sparc
! # include "bytecodes_sparc.hpp"
! #endif
! #ifdef TARGET_ARCH_zero
! # include "bytecodes_zero.hpp"
! #endif
!
number_of_codes
};
// Flag bits derived from format strings, can_trap, can_rewrite, etc.:
*** 392,396 ****
--- 407,413 ----
}
// Initialization
static void initialize ();
};
+
+ #endif // SHARE_VM_INTERPRETER_BYTECODES_HPP