[llvm-commits] [llvm] r121904 - /llvm/trunk/lib/MC/MCStreamer.cpp
Matt Beaumont-Gay
matthewbg at google.com
Wed Dec 15 14:21:20 PST 2010
Author: matthewbg
Date: Wed Dec 15 16:21:20 2010
New Revision: 121904
URL: http://llvm.org/viewvc/llvm-project?rev=121904&view=rev
Log:
Fix opt -Werror build
Modified:
llvm/trunk/lib/MC/MCStreamer.cpp
Modified: llvm/trunk/lib/MC/MCStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCStreamer.cpp?rev=121904&r1=121903&r2=121904&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCStreamer.cpp Wed Dec 15 16:21:20 2010
@@ -49,6 +49,7 @@
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.
More information about the llvm-commits
mailing list