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

feat(compiler): Name globals in wasm output #1184

Merged
merged 2 commits into from
May 15, 2022
Merged

Conversation

ospencer
Copy link
Member

@ospencer ospencer commented Apr 9, 2022

This is more code cleanup than anything else, largely from old logic we needed back before we used Binaryen. Additionally, it'll make it easier for us to debug what's going in in the wasm output since we'll actually see the names of globals getting assigned rather than just global_0 etc.

@ospencer ospencer requested a review from a team April 9, 2022 15:50
@ospencer ospencer self-assigned this Apr 9, 2022
Copy link
Member

@peblair peblair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Copy link
Member

@marcusroberts marcusroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can only say LGTM!

@ospencer ospencer force-pushed the oscar/func-table-refactor branch 3 times, most recently from ff243e2 to 0133a2d Compare May 14, 2022 17:56
Copy link
Contributor

@jozanza jozanza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

Base automatically changed from oscar/func-table-refactor to main May 15, 2022 20:32
Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the code cleanup 🎉

@ospencer ospencer merged commit 51170e7 into main May 15, 2022
@ospencer ospencer deleted the oscar/refactor-globals branch May 15, 2022 21:25
@github-actions github-actions bot mentioned this pull request May 16, 2022
@github-actions github-actions bot mentioned this pull request May 31, 2022
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.

5 participants