mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
The recalclulate method was a nasty hack that was once used by the -cee pass,
which never worked itself. The cee pass still doesn't work, but it doesn't use this method anymore anyway, so eliminate the method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -252,11 +252,6 @@ struct DominatorSet : public DominatorSetBase {
|
||||
|
||||
virtual bool runOnFunction(Function &F);
|
||||
|
||||
/// recalculate - This method may be called by external passes that modify the
|
||||
/// CFG and then need dominator information recalculated. This method is
|
||||
/// obviously really slow, so it should be avoided if at all possible.
|
||||
void recalculate();
|
||||
|
||||
BasicBlock *getRoot() const {
|
||||
assert(Roots.size() == 1 && "Should always have entry node!");
|
||||
return Roots[0];
|
||||
|
||||
Reference in New Issue
Block a user