[llvm-commits] [llvm] r80340 - /llvm/trunk/lib/MC/MCAssembler.cpp
Daniel Dunbar
daniel at zuster.org
Thu Aug 27 22:48:11 PDT 2009
Author: ddunbar
Date: Fri Aug 28 00:48:10 2009
New Revision: 80340
URL: http://llvm.org/viewvc/llvm-project?rev=80340&view=rev
Log:
llvm-mc: Fix thinko in emitting values.
Modified:
llvm/trunk/lib/MC/MCAssembler.cpp
Modified: llvm/trunk/lib/MC/MCAssembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAssembler.cpp?rev=80340&r1=80339&r2=80340&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAssembler.cpp (original)
+++ llvm/trunk/lib/MC/MCAssembler.cpp Fri Aug 28 00:48:10 2009
@@ -1002,7 +1002,7 @@
MCFillFragment &FF = cast<MCFillFragment>(F);
int64_t Value = 0;
- if (!FF.getValue().isAbsolute())
+ if (FF.getValue().isAbsolute())
Value = FF.getValue().getConstant();
for (uint64_t i = 0, e = FF.getCount(); i != e; ++i) {
if (!FF.getValue().isAbsolute()) {
More information about the llvm-commits
mailing list