Skip to content

Commit

Permalink
Fix: fix missing line
Browse files Browse the repository at this point in the history
  • Loading branch information
nomaddo committed Apr 11, 2018
1 parent c014c54 commit 4356a8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/optimization/LiteralValues.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,7 @@ InstructionWalker optimizations::handleUseWithImmediate(
// and with constant/unsigned, etc.)
if(localIt->getSingleWriter() != nullptr)
it->addDecorations(intermediate::forwardDecorations(localIt->getSingleWriter()->decoration));
it.nextInBlock();
op->replaceLocal(oldLocal, tmp.local, LocalUse::Type::READER);
}
}
Expand Down

0 comments on commit 4356a8d

Please sign in to comment.