comparison src/share/vm/opto/connode.cpp @ 1579:e9ff18c4ace7

Merge
author jrose
date Wed, 02 Jun 2010 22:45:42 -0700
parents c18cbe5936b8 3657cb01ffc5
children f95d63e2154a
comparison
equal deleted inserted replaced
1562:dfe27f03244a 1579:e9ff18c4ace7
435 435
436 //------------------------------Ideal_DU_postCCP------------------------------- 436 //------------------------------Ideal_DU_postCCP-------------------------------
437 // If not converting int->oop, throw away cast after constant propagation 437 // If not converting int->oop, throw away cast after constant propagation
438 Node *CastPPNode::Ideal_DU_postCCP( PhaseCCP *ccp ) { 438 Node *CastPPNode::Ideal_DU_postCCP( PhaseCCP *ccp ) {
439 const Type *t = ccp->type(in(1)); 439 const Type *t = ccp->type(in(1));
440 if (!t->isa_oop_ptr() || (in(1)->is_DecodeN() && Universe::narrow_oop_use_implicit_null_checks())) { 440 if (!t->isa_oop_ptr() || (in(1)->is_DecodeN() && Matcher::gen_narrow_oop_implicit_null_checks())) {
441 return NULL; // do not transform raw pointers or narrow oops 441 return NULL; // do not transform raw pointers or narrow oops
442 } 442 }
443 return ConstraintCastNode::Ideal_DU_postCCP(ccp); 443 return ConstraintCastNode::Ideal_DU_postCCP(ccp);
444 } 444 }
445 445