< prev index next >

src/hotspot/share/opto/ifnode.cpp

Print this page

        

*** 1548,1559 **** Node* dom = in(0); 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; --- 1548,1558 ---- Node* dom = in(0); 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? prev_dom->in(0) != dom) { // One path of test does not dominate? if (dist < 0) return NULL; dist--; prev_dom = dom;
< prev index next >