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:
a63cde2
)
Fix opt -Werror build
author
Matt Beaumont-Gay
<matthewbg@google.com>
Wed, 15 Dec 2010 22:21:20 +0000
(22:21 +0000)
committer
Matt Beaumont-Gay
<matthewbg@google.com>
Wed, 15 Dec 2010 22:21:20 +0000
(22:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121904
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCStreamer.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCStreamer.cpp
b/lib/MC/MCStreamer.cpp
index fc7a75475616713aef1bd0aa2eda78251c747d90..9b3f379e2aa1ba0de385bd49d64ff70051ed504f 100644
(file)
--- 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.