aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SimpleRegisterCoalescing.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-27 23:14:11 +0000
committerMike Stump <mrs@apple.com>2009-07-27 23:14:11 +0000
commit02efa786d40fabae6dbbb3de5ab057359701e337 (patch)
tree60a0ac0f17552d94dfc6d6eb07fd457cdf17533e /lib/CodeGen/SimpleRegisterCoalescing.cpp
parent3d2a56d38758943ee8070cacfd9e29754bdb59b3 (diff)
Avoid build warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77271 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r--lib/CodeGen/SimpleRegisterCoalescing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 72ed22b06c..7aa9cf543f 100644
--- a/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -1308,6 +1308,7 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) {
DEBUG(errs() << "\tIncompatible source regclass: "
<< tri_->getName(DstSubReg) << " not in " << SrcSubRC->getName()
<< ".\n");
+ (void)DstSubReg;
return false; // Not coalescable.
}
}