Remove the fall_through link that a BasicBlock has to its child when
calling its Hide function. Useful for removing the visible link that is
there when we dump the CFG.
Change-Id: Ie82c48b195d1d62e2984d284dcc29ed7d7444db2
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
// Replace child with null child.
childPtr->predecessors->Delete(id);
}
+
+ // Remove link to children.
+ taken = NullBasicBlockId;
+ fall_through = NullBasicBlockId;
+ successor_block_list_type = kNotUsed;
}
bool BasicBlock::IsSSALiveOut(const CompilationUnit* c_unit, int ssa_reg) {