Revert "cmp: fix inlining of local closures"

This reverts commit 58f17f6c66.
This commit is contained in:
Daniel Kochmański 2020-05-08 13:10:13 +02:00
parent cbe5326b0f
commit a2a12e2531

View file

@ -104,9 +104,8 @@
(declared-inline-p fname)
(plusp *inline-max-depth*))
(return-from c1call-local
(let ((*inline-max-depth* (1- *inline-max-depth*))
(*cmp-env* (fun-cmp-env fun)))
(c1expr `(funcall #',lambda ,@args))))))
(let ((*inline-max-depth* (1- *inline-max-depth*)))
`(funcall #',lambda ,@args)))))
(let* ((forms (c1args* args))
(return-type (or (get-local-return-type fun) 'T))
(arg-types (get-local-arg-types fun)))