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(); |