[llvm-commits] [dragonegg] r137458 - /dragonegg/trunk/src/Constants.cpp
Duncan Sands
baldrick at free.fr
Fri Aug 12 07:11:01 PDT 2011
Author: baldrick
Date: Fri Aug 12 09:11:01 2011
New Revision: 137458
URL: http://llvm.org/viewvc/llvm-project?rev=137458&view=rev
Log:
When building without assertions on the result of this computation
is not used.
Modified:
dragonegg/trunk/src/Constants.cpp
Modified: dragonegg/trunk/src/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Constants.cpp?rev=137458&r1=137457&r2=137458&view=diff
==============================================================================
--- dragonegg/trunk/src/Constants.cpp (original)
+++ dragonegg/trunk/src/Constants.cpp Fri Aug 12 09:11:01 2011
@@ -1452,6 +1452,7 @@
Offset = Folder.CreateAdd(Offset, ConstantInt::get(Offset->getType(),
Units));
BitStart -= Units * BITS_PER_UNIT;
+ (void)BitStart;
}
assert(BitStart == 0 &&
"It's a bitfield reference or we didn't get to the field!");
More information about the llvm-commits
mailing list