summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectStreamer.cpp
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2013-02-15 23:12:33 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2013-02-15 23:12:33 +0000
commit5ae72088300ffff7c08c7c43884ad29d6f441b04 (patch)
treeadc2f23bea0eeb597d6e2791d0a247196411ae9e /llvm/lib/MC/MCObjectStreamer.cpp
parentc8675507aac2b506bd49b09bf9ede36f554dc062 (diff)
downloadbcm5719-llvm-5ae72088300ffff7c08c7c43884ad29d6f441b04.tar.gz
bcm5719-llvm-5ae72088300ffff7c08c7c43884ad29d6f441b04.zip
Suppress a GCC -Wunused-variable warning in -Asserts builds
llvm-svn: 175319
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCObjectStreamer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp
index b6c7341469d..0d2ce83a8a1 100644
--- a/llvm/lib/MC/MCObjectStreamer.cpp
+++ b/llvm/lib/MC/MCObjectStreamer.cpp
@@ -226,8 +226,10 @@ void MCObjectStreamer::EmitInstToFragment(const MCInst &Inst) {
IF->getContents().append(Code.begin(), Code.end());
}
+#ifndef NDEBUG
static const char *BundlingNotImplementedMsg =
"Aligned bundling is not implemented for this object format";
+#endif
void MCObjectStreamer::EmitBundleAlignMode(unsigned AlignPow2) {
llvm_unreachable(BundlingNotImplementedMsg);
OpenPOWER on IntegriCloud