compiler: Change a couple of usages of rebinding variables with the same name. It's legal but confusing.

locals-and-roots
Doug Coleman 2016-05-15 18:48:22 -07:00
parent 167ce1c0d2
commit b5221fd92e
2 changed files with 6 additions and 6 deletions

View File

@ -39,9 +39,9 @@ M: insn gc-check-offsets* 2drop ;
! Divide a basic block into sections, where every section
! other than the first requires a GC check.
[
insns 0 seq [| insns from to |
from to insns subseq ,
insns to
insns 0 seq [| insns' from to |
from to insns' subseq ,
insns' to
] each
tail ,
] { } make ;

View File

@ -32,9 +32,9 @@ SYMBOLS: locs preds to-do ready ;
:: process-to-do ( b temp: ( src -- dst ) quot: ( dst src -- ) -- )
b locs get at b = [
b temp call :> temp
temp b quot call
temp b locs get set-at
b temp call :> temp'
temp' b quot call
temp' b locs get set-at
b ready get push-front
] when ; inline