[llvm-commits] [llvm] r157438 - /llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Kaelyn Uhrain
rikka at google.com
Thu May 24 16:37:49 PDT 2012
Author: rikka
Date: Thu May 24 18:37:49 2012
New Revision: 157438
URL: http://llvm.org/viewvc/llvm-project?rev=157438&view=rev
Log:
Silence unused variable warnings from when assertions are disabled.
Modified:
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=157438&r1=157437&r2=157438&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Thu May 24 18:37:49 2012
@@ -1174,6 +1174,7 @@
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 @@
CandResult BotResult =
pickNodeFromQueue(Bot.Available, DAG->getBotRPTracker(), BotCand);
assert(BotResult != NoCand && "failed to find the first candidate");
+ (void)BotResult;
SU = BotCand.SU;
}
IsTopNode = false;
More information about the llvm-commits
mailing list