aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-08 22:53:06 +0000
committerMike Stump <mrs@apple.com>2009-05-08 22:53:06 +0000
commitc28dd52a62a4b92eeb825cff3bec28e4f66df7e0 (patch)
tree1b04745d010f0874b5fe7d22419b55b28cceca68 /lib/CodeGen/TwoAddressInstructionPass.cpp
parent06b55d4444a31f816fb2ee27c5811a7382c0f9ab (diff)
downloadexternal_llvm-c28dd52a62a4b92eeb825cff3bec28e4f66df7e0.tar.gz
external_llvm-c28dd52a62a4b92eeb825cff3bec28e4f66df7e0.tar.bz2
external_llvm-c28dd52a62a4b92eeb825cff3bec28e4f66df7e0.zip
Avoid warning in release-asserts build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp
index 4724c3a127..e37639e068 100644
--- a/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -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");
}