summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-28 05:48:10 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-28 05:48:10 +0000
commit93665faad0001e05517d4c06e975e9c5f678524c (patch)
treed1fa1a077ab86961bf57d9d76d79398c3b00b217
parent4b07ea1902ccb87288f1575bcbb29217f8b1a6b1 (diff)
downloadbcm5719-llvm-93665faad0001e05517d4c06e975e9c5f678524c.tar.gz
bcm5719-llvm-93665faad0001e05517d4c06e975e9c5f678524c.zip
llvm-mc: Fix thinko in emitting values.
llvm-svn: 80340
-rw-r--r--llvm/lib/MC/MCAssembler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAssembler.cpp b/llvm/lib/MC/MCAssembler.cpp
index 5fd67b25b2a..a01d8de46b2 100644
--- a/llvm/lib/MC/MCAssembler.cpp
+++ b/llvm/lib/MC/MCAssembler.cpp
@@ -1002,7 +1002,7 @@ static void WriteFileData(raw_ostream &OS, const MCFragment &F,
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()) {
OpenPOWER on IntegriCloud