projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b54562b
)
Suppress a GCC -Wunused-variable warning in -Asserts builds
author
Matt Beaumont-Gay
<matthewbg@google.com>
Fri, 15 Feb 2013 23:12:33 +0000
(23:12 +0000)
committer
Matt Beaumont-Gay
<matthewbg@google.com>
Fri, 15 Feb 2013 23:12:33 +0000
(23:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175319
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCObjectStreamer.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCObjectStreamer.cpp
b/lib/MC/MCObjectStreamer.cpp
index b6c7341469dfb37016ca8a124a72f866091367de..0d2ce83a8a109d5a76e0858e4a8faba43e5aeade 100644
(file)
--- a/
lib/MC/MCObjectStreamer.cpp
+++ b/
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);