Skip to content

Commit

Permalink
fixup for rebase snafu
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Apr 18, 2020
1 parent 04f2a98 commit d7c2b17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/ccgcalls.nim
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ proc fixupCall(p: BProc, le, ri: PNode, d: var TLoc,
getTemp(p, typ[0], tmp, needsInit=true)
var list: TLoc
initLoc(list, locCall, d.lode, OnUnknown)
list.r = pl
list.setRope pl
genAssignment(p, tmp, list, {}) # no need for deep copying
if canRaise: raiseExit(p)
genAssignment(p, d, tmp, {})
Expand Down Expand Up @@ -327,9 +327,9 @@ proc genClosureCall(p: BProc, le, ri: PNode, d: var TLoc) =
var list: TLoc
initLoc(list, locCall, d.lode, OnUnknown)
if tfIterator in typ.flags:
list.r = PatIter % [rdLoc(op), pl, pl.addComma, rawProc]
list.setRope PatIter % [rdLoc(op), pl, pl.addComma, rawProc]
else:
list.r = PatProc % [rdLoc(op), pl, pl.addComma, rawProc]
list.setRope PatProc % [rdLoc(op), pl, pl.addComma, rawProc]
genAssignment(p, tmp, list, {})
if canRaise: raiseExit(p)
genAssignment(p, d, tmp, {})
Expand Down

0 comments on commit d7c2b17

Please sign in to comment.