diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-04-14 14:57:32 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-04-14 14:57:32 +0000 |
| commit | 6ec30ab86ac96204724abe83dda7ed9130af1e3f (patch) | |
| tree | 8763f3ade15c69738fae103db03d0664520ad7d6 /contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp | |
| parent | 0ae629bdd66d39eb36d7c2d1b4e10d4daa01c1a1 (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp')
| -rw-r--r-- | contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp b/contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp index cd67449e3acf..209abf34d885 100644 --- a/contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -646,14 +646,6 @@ void MachineBasicBlock::replaceSuccessor(MachineBasicBlock *Old, removeSuccessor(OldI); } -void MachineBasicBlock::copySuccessor(MachineBasicBlock *Orig, - succ_iterator I) { - if (Orig->Probs.empty()) - addSuccessor(*I, Orig->getSuccProbability(I)); - else - addSuccessorWithoutProb(*I); -} - void MachineBasicBlock::addPredecessor(MachineBasicBlock *Pred) { Predecessors.push_back(Pred); } |
