Skip to content

Commit

Permalink
ConstProp: rm leftover
Browse files Browse the repository at this point in the history
Signed-off-by: Alyssa Rosenzweig <[email protected]>
  • Loading branch information
alyssarosenzweig committed Oct 2, 2024
1 parent 7439934 commit c310aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FEXCore/Source/Interface/IR/Passes/ConstProp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void ConstProp::HandleConstantPools(IREmitter* IREmit, const IRListView& Current
uint32_t Value = IROp->Args[i].ID().Value;
LOGMAN_THROW_A_FMT(Value < SSACount, "src not yet remapped");

Ref New = Value < SSACount ? Remap[Value] : NULL;
Ref New = Remap[Value];
if (New) {
IREmit->ReplaceNodeArgument(CodeNode, i, New);
}
Expand Down

0 comments on commit c310aac

Please sign in to comment.