diff options
author | Mike Stump <mrs@apple.com> | 2009-05-08 22:53:06 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-05-08 22:53:06 +0000 |
commit | 1e8f072f1948de43a0c1c71e00e83e7bb192d7cb (patch) | |
tree | 1b04745d010f0874b5fe7d22419b55b28cceca68 | |
parent | 6c4311dddbb57b0e4cdd30c37863706efe70cf9d (diff) | |
download | external_llvm-1e8f072f1948de43a0c1c71e00e83e7bb192d7cb.zip external_llvm-1e8f072f1948de43a0c1c71e00e83e7bb192d7cb.tar.gz external_llvm-1e8f072f1948de43a0c1c71e00e83e7bb192d7cb.tar.bz2 |
Avoid warning in release-asserts build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71275 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/TwoAddressInstructionPass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 4724c3a..e37639e 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"); } |