hotspot/src/share/vm/adlc/output_h.cpp
changeset 3180 c589129153a4
parent 2131 98f9cef66a34
child 4751 9418f690831d
--- a/hotspot/src/share/vm/adlc/output_h.cpp	Fri Jun 26 16:14:31 2009 -0700
+++ b/hotspot/src/share/vm/adlc/output_h.cpp	Wed Jul 01 12:22:23 2009 -0700
@@ -1367,11 +1367,11 @@
         else if (!strcmp(oper->ideal_type(_globalNames), "ConN")) {
           // Access the locally stored constant
           fprintf(fp,"  virtual intptr_t       constant() const {");
-          fprintf(fp,   " return _c0->make_oopptr()->get_con();");
+          fprintf(fp,   " return _c0->get_ptrtype()->get_con();");
           fprintf(fp, " }\n");
           // Generate query to determine if this pointer is an oop
           fprintf(fp,"  virtual bool           constant_is_oop() const {");
-          fprintf(fp,   " return _c0->make_oopptr()->isa_oop_ptr();");
+          fprintf(fp,   " return _c0->get_ptrtype()->isa_oop_ptr();");
           fprintf(fp, " }\n");
         }
         else if (!strcmp(oper->ideal_type(_globalNames), "ConL")) {