comparison src/share/vm/opto/callnode.cpp @ 14438:4cdf4f71177d

8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object. Summary: Also introduces the compiler oracle 'option' feature for PrintAssembly. Reviewed-by: kvn
author goetz
date Fri, 22 Nov 2013 12:14:09 -0800
parents 766fac3395d6
children ad6695638a35
comparison
equal deleted inserted replaced
14437:15120a36272d 14438:4cdf4f71177d
340 switch (t->base()) { 340 switch (t->base()) {
341 case Type::Int: 341 case Type::Int:
342 st->print(" %s%d]=#"INT32_FORMAT,msg,i,t->is_int()->get_con()); 342 st->print(" %s%d]=#"INT32_FORMAT,msg,i,t->is_int()->get_con());
343 break; 343 break;
344 case Type::AnyPtr: 344 case Type::AnyPtr:
345 assert( t == TypePtr::NULL_PTR, "" ); 345 assert( t == TypePtr::NULL_PTR || n->in_dump(), "" );
346 st->print(" %s%d]=#NULL",msg,i); 346 st->print(" %s%d]=#NULL",msg,i);
347 break; 347 break;
348 case Type::AryPtr: 348 case Type::AryPtr:
349 case Type::InstPtr: 349 case Type::InstPtr:
350 st->print(" %s%d]=#Ptr" INTPTR_FORMAT,msg,i,t->isa_oopptr()->const_oop()); 350 st->print(" %s%d]=#Ptr" INTPTR_FORMAT,msg,i,t->isa_oopptr()->const_oop());
885 int CallStaticJavaNode::extract_uncommon_trap_request(const Node* call) { 885 int CallStaticJavaNode::extract_uncommon_trap_request(const Node* call) {
886 #ifndef PRODUCT 886 #ifndef PRODUCT
887 if (!(call->req() > TypeFunc::Parms && 887 if (!(call->req() > TypeFunc::Parms &&
888 call->in(TypeFunc::Parms) != NULL && 888 call->in(TypeFunc::Parms) != NULL &&
889 call->in(TypeFunc::Parms)->is_Con())) { 889 call->in(TypeFunc::Parms)->is_Con())) {
890 assert(_in_dump_cnt != 0, "OK if dumping"); 890 assert(in_dump() != 0, "OK if dumping");
891 tty->print("[bad uncommon trap]"); 891 tty->print("[bad uncommon trap]");
892 return 0; 892 return 0;
893 } 893 }
894 #endif 894 #endif
895 return call->in(TypeFunc::Parms)->bottom_type()->is_int()->get_con(); 895 return call->in(TypeFunc::Parms)->bottom_type()->is_int()->get_con();