< prev index next >
src/hotspot/share/opto/ifnode.cpp
Print this page
rev 53307 : Backport Shenadoah GC
*** 1504,1514 ****
Node* prev_dom = this;
int op = Opcode();
// Search up the dominator tree for an If with an identical test
while (dom->Opcode() != op || // Not same opcode?
dom->in(1) != in(1) || // Not same input 1?
- (req() == 3 && dom->in(2) != in(2)) || // Not same input 2?
prev_dom->in(0) != dom) { // One path of test does not dominate?
if (dist < 0) return NULL;
dist--;
prev_dom = dom;
--- 1504,1513 ----
< prev index next >