Skip to content

Commit 28f8994

Browse files
committed
[llvm] remove redundant DominatorTreeBase::addRoot method specialization
1 parent 7b8a244 commit 28f8994

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/include/llvm/CodeGen/MachineDominators.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ class MachineFunction;
3232
class Module;
3333
class raw_ostream;
3434

35-
template <>
36-
inline void DominatorTreeBase<MachineBasicBlock, false>::addRoot(
37-
MachineBasicBlock *MBB) {
38-
this->Roots.push_back(MBB);
39-
}
40-
4135
extern template class DomTreeNodeBase<MachineBasicBlock>;
4236
extern template class DominatorTreeBase<MachineBasicBlock, false>; // DomTree
4337

0 commit comments

Comments
 (0)