comparison src/share/vm/interpreter/templateTable.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents 136b78722a08
children b92c45f2bc75
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24
25 #ifndef SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP
26 #define SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP
27
28 #include "interpreter/bytecodes.hpp"
29 #include "memory/allocation.hpp"
30 #include "runtime/frame.hpp"
31 #ifdef TARGET_ARCH_MODEL_x86_32
32 # include "interp_masm_x86_32.hpp"
33 #endif
34 #ifdef TARGET_ARCH_MODEL_x86_64
35 # include "interp_masm_x86_64.hpp"
36 #endif
37 #ifdef TARGET_ARCH_MODEL_sparc
38 # include "interp_masm_sparc.hpp"
39 #endif
40 #ifdef TARGET_ARCH_MODEL_zero
41 # include "interp_masm_zero.hpp"
42 #endif
24 43
25 #ifndef CC_INTERP 44 #ifndef CC_INTERP
26 // All the necessary definitions used for (bytecode) template generation. Instead of 45 // All the necessary definitions used for (bytecode) template generation. Instead of
27 // spreading the implementation functionality for each bytecode in the interpreter 46 // spreading the implementation functionality for each bytecode in the interpreter
28 // and the snippet generator, a template is assigned to each bytecode which can be 47 // and the snippet generator, a template is assigned to each bytecode which can be
331 // Templates 350 // Templates
332 static Template* template_for (Bytecodes::Code code) { Bytecodes::check (code); return &_template_table [code]; } 351 static Template* template_for (Bytecodes::Code code) { Bytecodes::check (code); return &_template_table [code]; }
333 static Template* template_for_wide(Bytecodes::Code code) { Bytecodes::wide_check(code); return &_template_table_wide[code]; } 352 static Template* template_for_wide(Bytecodes::Code code) { Bytecodes::wide_check(code); return &_template_table_wide[code]; }
334 353
335 // Platform specifics 354 // Platform specifics
336 #include "incls/_templateTable_pd.hpp.incl" 355 #ifdef TARGET_ARCH_MODEL_x86_32
356 # include "templateTable_x86_32.hpp"
357 #endif
358 #ifdef TARGET_ARCH_MODEL_x86_64
359 # include "templateTable_x86_64.hpp"
360 #endif
361 #ifdef TARGET_ARCH_MODEL_sparc
362 # include "templateTable_sparc.hpp"
363 #endif
364 #ifdef TARGET_ARCH_MODEL_zero
365 # include "templateTable_zero.hpp"
366 #endif
367
337 }; 368 };
338 #endif /* !CC_INTERP */ 369 #endif /* !CC_INTERP */
370
371 #endif // SHARE_VM_INTERPRETER_TEMPLATETABLE_HPP