hotspot/src/share/vm/opto/ifnode.cpp
changeset 21089 e1986ff6fe2e
parent 20701 ef9996662fd5
child 22234 da823d78ad65
--- a/hotspot/src/share/vm/opto/ifnode.cpp	Fri Oct 18 12:15:32 2013 -0700
+++ b/hotspot/src/share/vm/opto/ifnode.cpp	Sat Oct 19 12:16:43 2013 +0200
@@ -1019,7 +1019,7 @@
   // be skipped. For example, range check predicate has two checks
   // for lower and upper bounds.
   ProjNode* unc_proj = proj_out(1 - prev_dom->as_Proj()->_con)->as_Proj();
-  if (PhaseIdealLoop::is_uncommon_trap_proj(unc_proj, Deoptimization::Reason_predicate))
+  if (unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_predicate))
     prev_dom = idom;
 
   // Now walk the current IfNode's projections.