mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Call opt:add-inlinable-functions to load inlines
This commit is contained in:
parent
c5ddd79aff
commit
6d0d81f9ef
1 changed files with 6 additions and 0 deletions
|
@ -199,6 +199,12 @@
|
||||||
;(write `(DEBUG add inline ,(define->var e) ,(define-c->inline-var e)))))
|
;(write `(DEBUG add inline ,(define->var e) ,(define-c->inline-var e)))))
|
||||||
input-program)
|
input-program)
|
||||||
|
|
||||||
|
;; Inlines do not have to be non-CPS, they are really two separate things.
|
||||||
|
;; So keep track of all functions marked as inline because there are still
|
||||||
|
;; possibilities for optimization even if the function must call into its
|
||||||
|
;; continuation.
|
||||||
|
(opt:add-inlinable-functions inlines)
|
||||||
|
|
||||||
;; Trim down the export list to any exports that are just "pass throughs"
|
;; Trim down the export list to any exports that are just "pass throughs"
|
||||||
;; from imported libraries. That is, they are not actually defined in
|
;; from imported libraries. That is, they are not actually defined in
|
||||||
;; the library being compiled
|
;; the library being compiled
|
||||||
|
|
Loading…
Add table
Reference in a new issue