Skip to content

Conversation

@dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Feb 6, 2019

As an alternative to #460 this PR makes inlining a first class citizen by integrating it into flows, and in turn makes flows the primary concept of holding compilation state. As a result we can differentiate between the function we are generating and the actual function being compiled inline at any time, allowing us to inline constructors, super calls and whatnot more easily.

In general it appears that this is the way to go since we are heavily relying on inlining, for example when it comes to internal macros, and we'd like to have as much control over it as possible.

@dcodeIO
Copy link
Member Author

dcodeIO commented Feb 6, 2019

With the wrapping fixed, this should be good to merge now, unless there are other comments :)

@dcodeIO dcodeIO merged commit 831054d into master Feb 6, 2019
@dcodeIO dcodeIO deleted the rework-inlining branch March 7, 2019 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants