equal
deleted
inserted
replaced
24 |
24 |
25 #ifndef SHARE_VM_C1_C1_COMPILER_HPP |
25 #ifndef SHARE_VM_C1_C1_COMPILER_HPP |
26 #define SHARE_VM_C1_C1_COMPILER_HPP |
26 #define SHARE_VM_C1_C1_COMPILER_HPP |
27 |
27 |
28 #include "compiler/abstractCompiler.hpp" |
28 #include "compiler/abstractCompiler.hpp" |
|
29 #include "compiler/compilerDirectives.hpp" |
29 |
30 |
30 // There is one instance of the Compiler per CompilerThread. |
31 // There is one instance of the Compiler per CompilerThread. |
31 |
32 |
32 class Compiler: public AbstractCompiler { |
33 class Compiler: public AbstractCompiler { |
33 private: |
34 private: |
48 |
49 |
49 // Initialization |
50 // Initialization |
50 virtual void initialize(); |
51 virtual void initialize(); |
51 |
52 |
52 // Compilation entry point for methods |
53 // Compilation entry point for methods |
53 virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci); |
54 virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci, DirectiveSet* directive); |
54 |
55 |
55 // Print compilation timers and statistics |
56 // Print compilation timers and statistics |
56 virtual void print_timers(); |
57 virtual void print_timers(); |
57 |
58 |
58 // Check if the C1 compiler supports an intrinsic for 'method'. |
59 // Check if the C1 compiler supports an intrinsic for 'method'. |