Skip to content

Utilize new inlining utility to potentially inline any call#684

Merged
dcodeIO merged 1 commit intomasterfrom
inline-everything
Jun 21, 2019
Merged

Utilize new inlining utility to potentially inline any call#684
dcodeIO merged 1 commit intomasterfrom
inline-everything

Conversation

@dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jun 20, 2019

As reported in MaxGraey/as-bignum#20 the compiler didn't yet attempt to inline all possible call sites (while emitting an AS224 warning), but this should be possible now by using the utility introduced with the runtime branch. Essentially, whenever a call is inlined, the locals used in operands are blocked right-to-left so other temps don't conflict.

@dcodeIO
Copy link
Member Author

dcodeIO commented Jun 20, 2019

One side-product of this is that the tests/std/pointer experiment can now inline everything.

@dcodeIO dcodeIO merged commit 2d31692 into master Jun 21, 2019
@dcodeIO dcodeIO deleted the inline-everything branch September 20, 2019 09:07
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.

1 participant