hotspot/src/share/vm/opto/type.hpp
changeset 8728 3f1bcd33068e
parent 7397 5b173b4ca846
child 8921 14bfe81f2a9d
--- a/hotspot/src/share/vm/opto/type.hpp	Mon Mar 21 18:38:00 2011 -0700
+++ b/hotspot/src/share/vm/opto/type.hpp	Tue Mar 22 13:36:33 2011 -0700
@@ -988,8 +988,8 @@
 
   static const TypeNarrowOop *make( const TypePtr* type);
 
-  static const TypeNarrowOop* make_from_constant(ciObject* con) {
-    return make(TypeOopPtr::make_from_constant(con));
+  static const TypeNarrowOop* make_from_constant(ciObject* con, bool require_constant = false) {
+    return make(TypeOopPtr::make_from_constant(con, require_constant));
   }
 
   // returns the equivalent ptr type for this compressed pointer