Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/c2compiler.hpp @ 13086:096c224171c4
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 20 Nov 2013 00:10:38 +0100 |
parents | 5d0bb7d52783 469216acdb28 |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
12782:92b7ec34ddfa | 13086:096c224171c4 |
---|---|
26 #define SHARE_VM_OPTO_C2COMPILER_HPP | 26 #define SHARE_VM_OPTO_C2COMPILER_HPP |
27 | 27 |
28 #include "compiler/abstractCompiler.hpp" | 28 #include "compiler/abstractCompiler.hpp" |
29 | 29 |
30 class C2Compiler : public AbstractCompiler { | 30 class C2Compiler : public AbstractCompiler { |
31 private: | 31 private: |
32 | 32 static bool init_c2_runtime(); |
33 static void initialize_runtime(); | |
34 | 33 |
35 public: | 34 public: |
36 C2Compiler() : AbstractCompiler(c2) {} | 35 C2Compiler() : AbstractCompiler(c2) {} |
37 | 36 |
38 // Name | 37 // Name |
39 const char *name() { return "C2"; } | 38 const char *name() { return "C2"; } |
40 | 39 |
41 static volatile int _runtimes; | |
42 | |
43 #ifdef TIERED | 40 #ifdef TIERED |
44 virtual bool is_c2() { return true; }; | 41 virtual bool is_c2() { return true; }; |
45 #endif // TIERED | 42 #endif // TIERED |
46 | |
47 // Customization | |
48 bool needs_adapters () { return true; } | |
49 bool needs_stubs () { return true; } | |
50 | 43 |
51 void initialize(); | 44 void initialize(); |
52 | 45 |
53 // Compilation entry point for methods | 46 // Compilation entry point for methods |
54 void compile_method(ciEnv* env, | 47 void compile_method(ciEnv* env, |