1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Add a use of an otherwise unused variable to remove a warning in non-Asserts

builds.

llvm-svn: 175981
This commit is contained in:
Cameron Zwarich 2013-02-24 01:26:05 +00:00
parent 4c64670f2d
commit 3ee02ffe83

View File

@ -1220,6 +1220,7 @@ tryInstructionTransform(MachineBasicBlock::iterator &mi,
MachineBasicBlock::iterator NewMI = NewMIs[1];
bool TransformResult =
tryInstructionTransform(NewMI, mi, NewSrcIdx, NewDstIdx, Dist, true);
(void)TransformResult;
assert(!TransformResult &&
"tryInstructionTransform() should return false.");
if (NewMIs[1]->getOperand(NewSrcIdx).isKill()) {