commit | 1e8f072f1948de43a0c1c71e00e83e7bb192d7cb | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Fri May 08 22:53:06 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Fri May 08 22:53:06 2009 +0000 |
tree | 1b04745d010f0874b5fe7d22419b55b28cceca68 | |
parent | 6c4311dddbb57b0e4cdd30c37863706efe70cf9d [diff] [blame] |
Avoid warning in release-asserts build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71275 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ ++NumReMats; } else { bool Emitted = TII->copyRegToReg(*mbbi, mi, regA, regB, rc, rc); + (void)Emitted; assert(Emitted && "Unable to issue a copy instruction!\n"); }