Avoid warning in release-asserts build.
authorMike Stump <mrs@apple.com>
Fri, 8 May 2009 22:53:06 +0000 (22:53 +0000)
committerMike Stump <mrs@apple.com>
Fri, 8 May 2009 22:53:06 +0000 (22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71275 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TwoAddressInstructionPass.cpp

index 4724c3a127a8b80f560be3eef8a7977a89b95c7b..e37639e068a680ad123904fb65e0ab413cb4454e 100644 (file)
@@ -935,6 +935,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
             ++NumReMats;
           } else {
             bool Emitted = TII->copyRegToReg(*mbbi, mi, regA, regB, rc, rc);
+            (void)Emitted;
             assert(Emitted && "Unable to issue a copy instruction!\n");
           }