Mercurial > hg > truffle
comparison src/share/vm/compiler/abstractCompiler.hpp @ 12356:359f7e70ae7f
Reduce HotSpot diff and fix previous merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 11 Oct 2013 15:41:33 +0200 |
parents | 64f41765b3d2 |
children | f6c511451e4a |
comparison
equal
deleted
inserted
replaced
12355:cefad50507d8 | 12356:359f7e70ae7f |
---|---|
72 | 72 |
73 // Should a native wrapper be generated by the runtime. This method | 73 // Should a native wrapper be generated by the runtime. This method |
74 // does *not* answer the question "can this compiler generate code for | 74 // does *not* answer the question "can this compiler generate code for |
75 // a native method". | 75 // a native method". |
76 virtual bool supports_native() { return true; } | 76 virtual bool supports_native() { return true; } |
77 | |
78 virtual bool supports_osr () { return true; } | 77 virtual bool supports_osr () { return true; } |
79 virtual bool can_compile_method(methodHandle method) { return true; } | 78 virtual bool can_compile_method(methodHandle method) { return true; } |
80 bool is_c1 () { return _type == c1; } | 79 bool is_c1 () { return _type == c1; } |
81 bool is_c2 () { return _type == c2; } | 80 bool is_c2 () { return _type == c2; } |
82 bool is_shark() { return _type == shark; } | 81 bool is_shark() { return _type == shark; } |
83 bool is_graal() { return _type == graal; } | 82 bool is_graal() { return _type == graal; } |
83 | |
84 // Customization | |
85 virtual bool needs_stubs () = 0; | |
84 | 86 |
85 void mark_initialized() { _is_initialized = true; } | 87 void mark_initialized() { _is_initialized = true; } |
86 bool is_initialized() { return _is_initialized; } | 88 bool is_initialized() { return _is_initialized; } |
87 | 89 |
88 virtual void initialize() = 0; | 90 virtual void initialize() = 0; |