src/share/vm/opto/callnode.cpp

Print this page
rev 5726 : 8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object.
Summary: Also introduces the compiler oracle 'option' feature for PrintAssembly.

*** 340,350 **** switch (t->base()) { case Type::Int: st->print(" %s%d]=#"INT32_FORMAT,msg,i,t->is_int()->get_con()); break; case Type::AnyPtr: ! assert( t == TypePtr::NULL_PTR, "" ); st->print(" %s%d]=#NULL",msg,i); break; case Type::AryPtr: case Type::InstPtr: st->print(" %s%d]=#Ptr" INTPTR_FORMAT,msg,i,t->isa_oopptr()->const_oop()); --- 340,350 ---- switch (t->base()) { case Type::Int: st->print(" %s%d]=#"INT32_FORMAT,msg,i,t->is_int()->get_con()); break; case Type::AnyPtr: ! assert( t == TypePtr::NULL_PTR || n->in_dump(), "" ); st->print(" %s%d]=#NULL",msg,i); break; case Type::AryPtr: case Type::InstPtr: st->print(" %s%d]=#Ptr" INTPTR_FORMAT,msg,i,t->isa_oopptr()->const_oop());
*** 885,895 **** int CallStaticJavaNode::extract_uncommon_trap_request(const Node* call) { #ifndef PRODUCT if (!(call->req() > TypeFunc::Parms && call->in(TypeFunc::Parms) != NULL && call->in(TypeFunc::Parms)->is_Con())) { ! assert(_in_dump_cnt != 0, "OK if dumping"); tty->print("[bad uncommon trap]"); return 0; } #endif return call->in(TypeFunc::Parms)->bottom_type()->is_int()->get_con(); --- 885,895 ---- int CallStaticJavaNode::extract_uncommon_trap_request(const Node* call) { #ifndef PRODUCT if (!(call->req() > TypeFunc::Parms && call->in(TypeFunc::Parms) != NULL && call->in(TypeFunc::Parms)->is_Con())) { ! assert(in_dump() != 0, "OK if dumping"); tty->print("[bad uncommon trap]"); return 0; } #endif return call->in(TypeFunc::Parms)->bottom_type()->is_int()->get_con();