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

Specialize calling of unary sends and reduce unnecessary updating of bytecode indexes #52

Merged
merged 5 commits into from
Aug 11, 2024

Conversation

smarr
Copy link
Member

@smarr smarr commented Aug 11, 2024

No description provided.

smarr added 5 commits August 11, 2024 19:19
This doesn’t do any further specialization yet, it only avoids reading the number of arguments from the symbol.

Signed-off-by: Stefan Marr <[email protected]>
What’s a bit odd at the moment, the return bytecodes handle the stack management of the caller.

This works because only bytecode methods would trigger these bytecodes. But, it seems unituitive and confusing.

Signed-off-by: Stefan Marr <[email protected]>
…methods

Only need to set the global BCI into the previous frame when calling into another method.

And we don’t need to read it from the new frame, because it’s already set when setting the frame.

Signed-off-by: Stefan Marr <[email protected]>
Signed-off-by: Stefan Marr <[email protected]>
Because there’s nothing that will change it anymore.
Because of inlining while loops.

Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr merged commit 11d1094 into SOM-st:master Aug 11, 2024
19 checks passed
@smarr smarr deleted the unary-send branch August 11, 2024 18:55
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