aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2010-12-15 22:21:20 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2010-12-15 22:21:20 +0000
commite194b26ffd23aa464324429323647af4fcb7df7b (patch)
tree41bbc0133aec30c2e104513e1b60c11b6d073747 /lib
parenta63cde26ff698284ecdbec357966ca9d69e1d83a (diff)
downloadexternal_llvm-e194b26ffd23aa464324429323647af4fcb7df7b.zip
external_llvm-e194b26ffd23aa464324429323647af4fcb7df7b.tar.gz
external_llvm-e194b26ffd23aa464324429323647af4fcb7df7b.tar.bz2
Fix opt -Werror build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/MC/MCStreamer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp
index fc7a754..9b3f379 100644
--- a/lib/MC/MCStreamer.cpp
+++ b/lib/MC/MCStreamer.cpp
@@ -49,6 +49,7 @@ void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size,
unsigned AddrSpace) {
assert(Size <= 8 && "Invalid size");
unsigned Bits = 8 * Size;
+ (void)Bits;
assert((isUIntN(Bits, Value) || isIntN(Bits, Value)) && "Invalid size");
char buf[8];
// FIXME: Endianness assumption.