aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-02-27 23:49:45 +0000
committerEric Christopher <echristo@gmail.com>2013-02-27 23:49:45 +0000
commitf686cfb33b232db5f9a671ddaf1265b42c7180d5 (patch)
treed02b0787dd6aa5bdcd8f49c70ed373a891674709 /lib/CodeGen/SelectionDAG
parent21a08a1189df7922de3a89432cf896ed681db5d5 (diff)
Remove unnecessary cast to void.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index aca0915673..2d15591f4a 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1078,7 +1078,6 @@ void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) {
}
unsigned NumFastIselRemaining = std::distance(Begin, End);
- (void) NumFastIselRemaining;
// Do FastISel on as many instructions as possible.
for (; BI != Begin; --BI) {
const Instruction *Inst = llvm::prior(BI);