mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-16 00:18:06 +00:00
llvm-mc: Fix thinko in emitting values.
llvm-svn: 80340
This commit is contained in:
parent
300b88539d
commit
7cf576d72f
@ -1002,7 +1002,7 @@ static void WriteFileData(raw_ostream &OS, const MCFragment &F,
|
|||||||
MCFillFragment &FF = cast<MCFillFragment>(F);
|
MCFillFragment &FF = cast<MCFillFragment>(F);
|
||||||
|
|
||||||
int64_t Value = 0;
|
int64_t Value = 0;
|
||||||
if (!FF.getValue().isAbsolute())
|
if (FF.getValue().isAbsolute())
|
||||||
Value = FF.getValue().getConstant();
|
Value = FF.getValue().getConstant();
|
||||||
for (uint64_t i = 0, e = FF.getCount(); i != e; ++i) {
|
for (uint64_t i = 0, e = FF.getCount(); i != e; ++i) {
|
||||||
if (!FF.getValue().isAbsolute()) {
|
if (!FF.getValue().isAbsolute()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user