projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a306a8a
)
Silence unused variable warnings from when assertions are disabled.
author
Kaelyn Uhrain
<rikka@google.com>
Thu, 24 May 2012 23:37:49 +0000
(23:37 +0000)
committer
Kaelyn Uhrain
<rikka@google.com>
Thu, 24 May 2012 23:37:49 +0000
(23:37 +0000)
llvm-svn: 157438
llvm/lib/CodeGen/MachineScheduler.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/MachineScheduler.cpp
b/llvm/lib/CodeGen/MachineScheduler.cpp
index
662b16f
..
4c12c0e
100644
(file)
--- a/
llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/
llvm/lib/CodeGen/MachineScheduler.cpp
@@
-1174,6
+1174,7
@@
SUnit *ConvergingScheduler::pickNode(bool &IsTopNode) {
CandResult TopResult =
pickNodeFromQueue(Top.Available, DAG->getTopRPTracker(), TopCand);
assert(TopResult != NoCand && "failed to find the first candidate");
+ (void)TopResult;
SU = TopCand.SU;
}
IsTopNode = true;
@@
-1185,6
+1186,7
@@
SUnit *ConvergingScheduler::pickNode(bool &IsTopNode) {
CandResult BotResult =
pickNodeFromQueue(Bot.Available, DAG->getBotRPTracker(), BotCand);
assert(BotResult != NoCand && "failed to find the first candidate");
+ (void)BotResult;
SU = BotCand.SU;
}
IsTopNode = false;