continuing to chase after low-hanging fruit.
This commit is contained in:
parent
f51438ad64
commit
d4bca31359
|
@ -516,15 +516,16 @@ EOF
|
|||
"M.control.pop();"]
|
||||
|
||||
[(PushEnvironment? stmt)
|
||||
(if (= (PushEnvironment-n stmt) 0)
|
||||
""
|
||||
(cond [(= (PushEnvironment-n stmt) 0)
|
||||
""]
|
||||
[(PushEnvironment-unbox? stmt)
|
||||
(format "M.e.push(~a);" (string-join
|
||||
(build-list (PushEnvironment-n stmt)
|
||||
(lambda: ([i : Natural])
|
||||
(if (PushEnvironment-unbox? stmt)
|
||||
"[undefined]"
|
||||
"undefined")))
|
||||
", ")))]
|
||||
"[undefined]"))
|
||||
", "))]
|
||||
[else
|
||||
(format "M.e.length+=~a;" (PushEnvironment-n stmt))])]
|
||||
[(PopEnvironment? stmt)
|
||||
(let: ([skip : OpArg (PopEnvironment-skip stmt)])
|
||||
(cond
|
||||
|
|
Loading…
Reference in New Issue
Block a user