337 ciKlass* find_system_klass(ciSymbol* klass_name); |
337 ciKlass* find_system_klass(ciSymbol* klass_name); |
338 // Note: To find a class from its name string, use ciSymbol::make, |
338 // Note: To find a class from its name string, use ciSymbol::make, |
339 // but consider adding to vmSymbols.hpp instead. |
339 // but consider adding to vmSymbols.hpp instead. |
340 |
340 |
341 // Use this to make a holder for non-perm compile time constants. |
341 // Use this to make a holder for non-perm compile time constants. |
342 // The resulting array is guaranteed to satisfy "has_encoding". |
342 // The resulting array is guaranteed to satisfy "can_be_constant". |
343 ciArray* make_array(GrowableArray<ciObject*>* objects); |
343 ciArray* make_system_array(GrowableArray<ciObject*>* objects); |
344 |
344 |
345 // converts the ciKlass* representing the holder of a method into a |
345 // converts the ciKlass* representing the holder of a method into a |
346 // ciInstanceKlass*. This is needed since the holder of a method in |
346 // ciInstanceKlass*. This is needed since the holder of a method in |
347 // the bytecodes could be an array type. Basically this converts |
347 // the bytecodes could be an array type. Basically this converts |
348 // array types into java/lang/Object and other types stay as they are. |
348 // array types into java/lang/Object and other types stay as they are. |