1.1 --- a/src/share/vm/interpreter/interpreterRuntime.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/interpreter/interpreterRuntime.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -22,6 +22,26 @@ 1.4 * 1.5 */ 1.6 1.7 +#ifndef SHARE_VM_INTERPRETER_INTERPRETERRUNTIME_HPP 1.8 +#define SHARE_VM_INTERPRETER_INTERPRETERRUNTIME_HPP 1.9 + 1.10 +#include "interpreter/bytecode.hpp" 1.11 +#include "interpreter/linkResolver.hpp" 1.12 +#include "memory/universe.hpp" 1.13 +#include "oops/methodOop.hpp" 1.14 +#include "runtime/frame.inline.hpp" 1.15 +#include "runtime/signature.hpp" 1.16 +#include "utilities/top.hpp" 1.17 +#ifdef TARGET_OS_FAMILY_linux 1.18 +# include "thread_linux.inline.hpp" 1.19 +#endif 1.20 +#ifdef TARGET_OS_FAMILY_solaris 1.21 +# include "thread_solaris.inline.hpp" 1.22 +#endif 1.23 +#ifdef TARGET_OS_FAMILY_windows 1.24 +# include "thread_windows.inline.hpp" 1.25 +#endif 1.26 + 1.27 // The InterpreterRuntime is called by the interpreter for everything 1.28 // that cannot/should not be dealt with in assembly and needs C support. 1.29 1.30 @@ -128,7 +148,16 @@ 1.31 #endif 1.32 1.33 // Platform dependent stuff 1.34 - #include "incls/_interpreterRT_pd.hpp.incl" 1.35 +#ifdef TARGET_ARCH_x86 1.36 +# include "interpreterRT_x86.hpp" 1.37 +#endif 1.38 +#ifdef TARGET_ARCH_sparc 1.39 +# include "interpreterRT_sparc.hpp" 1.40 +#endif 1.41 +#ifdef TARGET_ARCH_zero 1.42 +# include "interpreterRT_zero.hpp" 1.43 +#endif 1.44 + 1.45 1.46 // Interpreter's frequency counter overflow 1.47 static nmethod* frequency_counter_overflow(JavaThread* thread, address branch_bcp); 1.48 @@ -163,3 +192,5 @@ 1.49 public: 1.50 static void add(methodHandle method); 1.51 }; 1.52 + 1.53 +#endif // SHARE_VM_INTERPRETER_INTERPRETERRUNTIME_HPP