4960 // observed, then there can be no objection to the trap. |
4960 // observed, then there can be no objection to the trap. |
4961 bool found_trap = false; |
4961 bool found_trap = false; |
4962 for (DUIterator_Fast jmax, j = not_ctl->fast_outs(jmax); j < jmax; j++) { |
4962 for (DUIterator_Fast jmax, j = not_ctl->fast_outs(jmax); j < jmax; j++) { |
4963 Node* obs = not_ctl->fast_out(j); |
4963 Node* obs = not_ctl->fast_out(j); |
4964 if (obs->in(0) == not_ctl && obs->is_Call() && |
4964 if (obs->in(0) == not_ctl && obs->is_Call() && |
4965 (obs->as_Call()->entry_point() == |
4965 (obs->as_Call()->entry_point() == SharedRuntime::uncommon_trap_blob()->entry_point())) { |
4966 SharedRuntime::uncommon_trap_blob()->instructions_begin())) { |
|
4967 found_trap = true; break; |
4966 found_trap = true; break; |
4968 } |
4967 } |
4969 } |
4968 } |
4970 if (found_trap) { |
4969 if (found_trap) { |
4971 ctl = iff->in(0); // This test feeds a harmless uncommon trap. |
4970 ctl = iff->in(0); // This test feeds a harmless uncommon trap. |