diff options
| author | Matt Beaumont-Gay <matthewbg@google.com> | 2013-02-15 23:12:33 +0000 |
|---|---|---|
| committer | Matt Beaumont-Gay <matthewbg@google.com> | 2013-02-15 23:12:33 +0000 |
| commit | 5ae72088300ffff7c08c7c43884ad29d6f441b04 (patch) | |
| tree | adc2f23bea0eeb597d6e2791d0a247196411ae9e /llvm/lib/MC | |
| parent | c8675507aac2b506bd49b09bf9ede36f554dc062 (diff) | |
| download | bcm5719-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')
| -rw-r--r-- | llvm/lib/MC/MCObjectStreamer.cpp | 2 |
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); |

