1.1 --- a/src/share/vm/interpreter/bytecodes.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/interpreter/bytecodes.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -22,6 +22,12 @@ 1.4 * 1.5 */ 1.6 1.7 +#ifndef SHARE_VM_INTERPRETER_BYTECODES_HPP 1.8 +#define SHARE_VM_INTERPRETER_BYTECODES_HPP 1.9 + 1.10 +#include "memory/allocation.hpp" 1.11 +#include "utilities/top.hpp" 1.12 + 1.13 // Bytecodes specifies all bytecodes used in the VM and 1.14 // provides utility functions to get bytecode attributes. 1.15 1.16 @@ -279,7 +285,16 @@ 1.17 _shouldnotreachhere, // For debugging 1.18 1.19 // Platform specific JVM bytecodes 1.20 - #include "incls/_bytecodes_pd.hpp.incl" 1.21 +#ifdef TARGET_ARCH_x86 1.22 +# include "bytecodes_x86.hpp" 1.23 +#endif 1.24 +#ifdef TARGET_ARCH_sparc 1.25 +# include "bytecodes_sparc.hpp" 1.26 +#endif 1.27 +#ifdef TARGET_ARCH_zero 1.28 +# include "bytecodes_zero.hpp" 1.29 +#endif 1.30 + 1.31 1.32 number_of_codes 1.33 }; 1.34 @@ -394,3 +409,5 @@ 1.35 // Initialization 1.36 static void initialize (); 1.37 }; 1.38 + 1.39 +#endif // SHARE_VM_INTERPRETER_BYTECODES_HPP