1.1 --- a/src/share/vm/adlc/output_h.cpp Fri Jun 26 16:14:31 2009 -0700 1.2 +++ b/src/share/vm/adlc/output_h.cpp Wed Jul 01 12:22:23 2009 -0700 1.3 @@ -1367,11 +1367,11 @@ 1.4 else if (!strcmp(oper->ideal_type(_globalNames), "ConN")) { 1.5 // Access the locally stored constant 1.6 fprintf(fp," virtual intptr_t constant() const {"); 1.7 - fprintf(fp, " return _c0->make_oopptr()->get_con();"); 1.8 + fprintf(fp, " return _c0->get_ptrtype()->get_con();"); 1.9 fprintf(fp, " }\n"); 1.10 // Generate query to determine if this pointer is an oop 1.11 fprintf(fp," virtual bool constant_is_oop() const {"); 1.12 - fprintf(fp, " return _c0->make_oopptr()->isa_oop_ptr();"); 1.13 + fprintf(fp, " return _c0->get_ptrtype()->isa_oop_ptr();"); 1.14 fprintf(fp, " }\n"); 1.15 } 1.16 else if (!strcmp(oper->ideal_type(_globalNames), "ConL")) {