equal
deleted
inserted
replaced
151 ciInstanceKlass* loading_klass); |
151 ciInstanceKlass* loading_klass); |
152 |
152 |
153 // Helper methods |
153 // Helper methods |
154 bool check_klass_accessibility(ciKlass* accessing_klass, |
154 bool check_klass_accessibility(ciKlass* accessing_klass, |
155 Klass* resolved_klass); |
155 Klass* resolved_klass); |
156 Method* lookup_method(InstanceKlass* accessor, |
156 Method* lookup_method(ciInstanceKlass* accessor, |
157 InstanceKlass* holder, |
157 ciKlass* holder, |
158 Symbol* name, |
158 Symbol* name, |
159 Symbol* sig, |
159 Symbol* sig, |
160 Bytecodes::Code bc, |
160 Bytecodes::Code bc, |
161 constantTag tag); |
161 constantTag tag); |
162 |
162 |
163 // Get a ciObject from the object factory. Ensures uniqueness |
163 // Get a ciObject from the object factory. Ensures uniqueness |
164 // of ciObjects. |
164 // of ciObjects. |
165 ciObject* get_object(oop o) { |
165 ciObject* get_object(oop o) { |
166 if (o == NULL) { |
166 if (o == NULL) { |
225 ciInstance* get_or_create_exception(jobject& handle, Symbol* name); |
225 ciInstance* get_or_create_exception(jobject& handle, Symbol* name); |
226 |
226 |
227 // Get a ciMethod representing either an unfound method or |
227 // Get a ciMethod representing either an unfound method or |
228 // a method with an unloaded holder. Ensures uniqueness of |
228 // a method with an unloaded holder. Ensures uniqueness of |
229 // the result. |
229 // the result. |
230 ciMethod* get_unloaded_method(ciInstanceKlass* holder, |
230 ciMethod* get_unloaded_method(ciKlass* holder, |
231 ciSymbol* name, |
231 ciSymbol* name, |
232 ciSymbol* signature, |
232 ciSymbol* signature, |
233 ciInstanceKlass* accessor) { |
233 ciInstanceKlass* accessor) { |
234 return _factory->get_unloaded_method(holder, name, signature, accessor); |
234 ciInstanceKlass* declared_holder = get_instance_klass_for_declared_method_holder(holder); |
|
235 return _factory->get_unloaded_method(declared_holder, name, signature, accessor); |
235 } |
236 } |
236 |
237 |
237 // Get a ciKlass representing an unloaded klass. |
238 // Get a ciKlass representing an unloaded klass. |
238 // Ensures uniqueness of the result. |
239 // Ensures uniqueness of the result. |
239 ciKlass* get_unloaded_klass(ciKlass* accessing_klass, |
240 ciKlass* get_unloaded_klass(ciKlass* accessing_klass, |