Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize new inlining utility to potentially inline any call #684

Merged
merged 1 commit into from Jun 21, 2019

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.

None yet

1 participant