summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-12-28 01:02:21 +0000
committerBill Wendling <isanbard@gmail.com>2009-12-28 01:02:21 +0000
commit846ca9b38b777fad344e346a197d99492eee4026 (patch)
tree6fabb506e96be0062c2b5092a7148054508b63df /llvm/lib
parentee5ca6e962750cfb55dd4e11cc75e74c9341764f (diff)
downloadbcm5719-llvm-846ca9b38b777fad344e346a197d99492eee4026.tar.gz
bcm5719-llvm-846ca9b38b777fad344e346a197d99492eee4026.zip
Remove dead variable.
llvm-svn: 92180
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index 4ead9c9d8c4..9e182efbbbf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -548,9 +548,6 @@ FastISel::SelectInstruction(Instruction *I) {
/// the CFG.
void
FastISel::FastEmitBranch(MachineBasicBlock *MSucc) {
- MachineFunction::iterator NextMBB =
- llvm::next(MachineFunction::iterator(MBB));
-
if (MBB->isLayoutSuccessor(MSucc)) {
// The unconditional fall-through case, which needs no instructions.
} else {
OpenPOWER on IntegriCloud