Mercurial > hg > truffle
comparison src/share/vm/graal/graalEnv.hpp @ 7094:eec7173947a1
removed remaining use of the C++ "compiler interface" (i.e. ci) by Graal for installing dependencies
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 29 Nov 2012 17:13:13 +0100 |
parents | af30115c9d0e |
children | ce248dc0a656 |
comparison
equal
deleted
inserted
replaced
7093:dff79b1f82f1 | 7094:eec7173947a1 |
---|---|
32 #include "compiler/oopMap.hpp" | 32 #include "compiler/oopMap.hpp" |
33 #include "runtime/thread.hpp" | 33 #include "runtime/thread.hpp" |
34 | 34 |
35 class CompileTask; | 35 class CompileTask; |
36 | 36 |
37 // ciEnv | |
38 // | 37 // |
39 // This class is the top level broker for requests from the compiler | 38 // This class is the top level broker for requests from the compiler |
40 // to the VM. | 39 // to the VM. |
41 class GraalEnv : AllStatic { | 40 class GraalEnv : AllStatic { |
42 CI_PACKAGE_ACCESS_TO | 41 CI_PACKAGE_ACCESS_TO |
134 int compile_id, | 133 int compile_id, |
135 bool has_debug_info, | 134 bool has_debug_info, |
136 bool has_unsafe_access, | 135 bool has_unsafe_access, |
137 Handle installed_code); | 136 Handle installed_code); |
138 | 137 |
139 static ciKlass* find_system_klass(ciSymbol* klass_name); | 138 // converts the Klass* representing the holder of a method into a |
140 // Note: To find a class from its name string, use ciSymbol::make, | 139 // InstanceKlass*. This is needed since the holder of a method in |
141 // but consider adding to vmSymbols.hpp instead. | |
142 | |
143 // converts the ciKlass* representing the holder of a method into a | |
144 // ciInstanceKlass*. This is needed since the holder of a method in | |
145 // the bytecodes could be an array type. Basically this converts | 140 // the bytecodes could be an array type. Basically this converts |
146 // array types into java/lang/Object and other types stay as they are. | 141 // array types into java/lang/Object and other types stay as they are. |
147 static instanceKlassHandle get_instance_klass_for_declared_method_holder(KlassHandle& klass); | 142 static instanceKlassHandle get_instance_klass_for_declared_method_holder(KlassHandle& klass); |
148 }; | 143 }; |
149 | 144 |