remove closures, keep lambdas
A closure was a code pointer beside an inline environment: capture records, per-signature structs, conversion thunks and call helpers. It is gone; a lambda still lifts to an ordinary function and a (fn ...) value is still a bare code pointer. The capture budget, the environment union and the closure glyph go with it. The implementation is kept at tag 0.0.1.
This commit is contained in:
@@ -372,7 +372,7 @@
|
||||
((¤) (let ((element (array-element-type type)))
|
||||
(append (if element (type-uses element behind?) (list))
|
||||
(if (array-bound? type) (bound-uses (array-bound type)) (list)))))
|
||||
((fn closure)
|
||||
((fn)
|
||||
(if (and (pair? (cdr type)) (list? (second type)))
|
||||
(append-map (lambda (t) (type-uses t #f))
|
||||
(signature-types (second type) (last type)))
|
||||
|
||||
Reference in New Issue
Block a user