src/share/vm/opto/loopTransform.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/loopTransform.cpp	Thu Feb 25 19:06:07 2010
--- new/src/share/vm/opto/loopTransform.cpp	Thu Feb 25 19:06:07 2010

*** 1783,1792 **** --- 1783,1794 ---- // // "must_reason_predicate" means the uct reason must be Reason_predicate bool PhaseIdealLoop::is_uncommon_trap_if_pattern(ProjNode *proj, bool must_reason_predicate) { Node *in0 = proj->in(0); if (!in0->is_If()) return false; + // Variation of a dead If node. + if (in0->outcnt() < 2) return false; IfNode* iff = in0->as_If(); // we need "If(Conv2B(Opaque1(...)))" pattern for must_reason_predicate if (must_reason_predicate) { if (iff->in(1)->Opcode() != Op_Conv2B ||

src/share/vm/opto/loopTransform.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File