projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c867550
)
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)
llvm-svn: 175319
llvm/lib/MC/MCObjectStreamer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/MC/MCObjectStreamer.cpp
b/llvm/lib/MC/MCObjectStreamer.cpp
index
b6c7341
..
0d2ce83
100644
(file)
--- 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);