@@ -246,10 +246,6 @@ class G4_BB
246246 //
247247 unsigned traversal;
248248 //
249- // its immediate dominator
250- //
251- G4_BB* idom;
252- //
253249 // if the current BB is the return block after a CALL subroutine, then beforeCall points
254250 // to the BB before the subroutine call.
255251 //
@@ -377,7 +373,7 @@ class G4_BB
377373
378374 G4_BB (INST_LIST_NODE_ALLOCATOR& alloc, unsigned i, FlowGraph* fg) :
379375 id (i), preId(0 ), rpostId(0 ),
380- traversal (0 ), idom( NULL ), beforeCall(NULL ),
376+ traversal (0 ), beforeCall(NULL ),
381377 afterCall (NULL ), calleeInfo(NULL ), BBType(G4_BB_NONE_TYPE),
382378 inNaturalLoop (false ), hasSendInBB(false ), loopNestLevel(0 ), scopeID(0 ),
383379 inSimdFlow (false ), divergent(false ), physicalPred(NULL ), physicalSucc(NULL ),
@@ -407,8 +403,6 @@ class G4_BB
407403 void removePredEdge (G4_BB* pred);
408404 void writeBBId (std::ostream& cout) {cout << " BB" << id;}
409405 G4_BB* fallThroughBB ();
410- G4_BB* getIDom () {return idom;}
411- void setIDom (G4_BB* dom) {idom = dom;}
412406 G4_BB* BBBeforeCall () {return beforeCall;}
413407 G4_BB* BBAfterCall () {return afterCall;}
414408 void setBBBeforeCall (G4_BB* before) {beforeCall = before;}
0 commit comments