contining to do some minor inlining, whitespace removal
This commit is contained in:
parent
948afb930c
commit
6774f2ae2b
|
@ -22,14 +22,7 @@
|
|||
|
||||
|
||||
[(CheckClosureArity!? op)
|
||||
(format #<<EOF
|
||||
if (! (MACHINE.proc instanceof RUNTIME.Closure)) {
|
||||
RUNTIME.raiseOperatorIsNotClosure(MACHINE, MACHINE.proc);
|
||||
}
|
||||
if (! RUNTIME.isArityMatching(MACHINE.proc.racketArity, ~a)) {
|
||||
RUNTIME.raiseArityMismatchError(MACHINE, MACHINE.proc, ~a);
|
||||
}
|
||||
EOF
|
||||
(format "if(!(MACHINE.proc instanceof RUNTIME.Closure)){RUNTIME.raiseOperatorIsNotClosure(MACHINE,MACHINE.proc);}if(!RUNTIME.isArityMatching(MACHINE.proc.racketArity,~a)){RUNTIME.raiseArityMismatchError(MACHINE, MACHINE.proc,~a);}"
|
||||
(assemble-oparg (CheckClosureArity!-num-args op))
|
||||
(assemble-oparg (CheckClosureArity!-num-args op)))]
|
||||
|
||||
|
@ -102,8 +95,8 @@ EOF
|
|||
(assemble-oparg tag)])))]
|
||||
|
||||
[(FixClosureShellMap!? op)
|
||||
(format "MACHINE.env[MACHINE.env.length - 1 - ~a].closedVals = [~a];"
|
||||
(FixClosureShellMap!-depth op)
|
||||
(format "MACHINE.env[MACHINE.env.length-~a].closedVals=[~a];"
|
||||
(add1 (FixClosureShellMap!-depth op))
|
||||
(string-join (map
|
||||
assemble-env-reference/closure-capture
|
||||
;; The closure values are in reverse order
|
||||
|
|
Loading…
Reference in New Issue
Block a user