src/share/vm/interpreter/templateTable.hpp

changeset 2314
f95d63e2154a
parent 1957
136b78722a08
child 2508
b92c45f2bc75
     1.1 --- a/src/share/vm/interpreter/templateTable.hpp	Tue Nov 23 15:01:43 2010 -0500
     1.2 +++ b/src/share/vm/interpreter/templateTable.hpp	Tue Nov 23 13:22:55 2010 -0800
     1.3 @@ -22,6 +22,25 @@
     1.4   *
     1.5   */
     1.6  
     1.7 +#ifndef SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP
     1.8 +#define SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP
     1.9 +
    1.10 +#include "interpreter/bytecodes.hpp"
    1.11 +#include "memory/allocation.hpp"
    1.12 +#include "runtime/frame.hpp"
    1.13 +#ifdef TARGET_ARCH_MODEL_x86_32
    1.14 +# include "interp_masm_x86_32.hpp"
    1.15 +#endif
    1.16 +#ifdef TARGET_ARCH_MODEL_x86_64
    1.17 +# include "interp_masm_x86_64.hpp"
    1.18 +#endif
    1.19 +#ifdef TARGET_ARCH_MODEL_sparc
    1.20 +# include "interp_masm_sparc.hpp"
    1.21 +#endif
    1.22 +#ifdef TARGET_ARCH_MODEL_zero
    1.23 +# include "interp_masm_zero.hpp"
    1.24 +#endif
    1.25 +
    1.26  #ifndef CC_INTERP
    1.27  // All the necessary definitions used for (bytecode) template generation. Instead of
    1.28  // spreading the implementation functionality for each bytecode in the interpreter
    1.29 @@ -333,6 +352,20 @@
    1.30    static Template* template_for_wide(Bytecodes::Code code)  { Bytecodes::wide_check(code); return &_template_table_wide[code]; }
    1.31  
    1.32    // Platform specifics
    1.33 -  #include "incls/_templateTable_pd.hpp.incl"
    1.34 +#ifdef TARGET_ARCH_MODEL_x86_32
    1.35 +# include "templateTable_x86_32.hpp"
    1.36 +#endif
    1.37 +#ifdef TARGET_ARCH_MODEL_x86_64
    1.38 +# include "templateTable_x86_64.hpp"
    1.39 +#endif
    1.40 +#ifdef TARGET_ARCH_MODEL_sparc
    1.41 +# include "templateTable_sparc.hpp"
    1.42 +#endif
    1.43 +#ifdef TARGET_ARCH_MODEL_zero
    1.44 +# include "templateTable_zero.hpp"
    1.45 +#endif
    1.46 +
    1.47  };
    1.48  #endif /* !CC_INTERP */
    1.49 +
    1.50 +#endif // SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP

mercurial