mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
llvm-mc: Fix thinko in emitting values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eccf22528f
commit
6c31b0575c
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user