Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Jun 12, 2024

After this we can handle nulls pretty much everywhere and all core
reference operations should be supported.

@kripken kripken requested a review from tlively June 12, 2024 18:22
src/wasm2js.h Outdated
} else if (auto* get = init->dynCast<GlobalGet>()) {
value = ValueBuilder::makeName(fromName(get->name, NameScope::Top));
} else if (init->is<RefNull>()) {
value = ValueBuilder::makeName("null");
Copy link
Member

Choose a reason for hiding this comment

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

not NULL_ here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh right, I forgot, thanks 😄

@kripken kripken enabled auto-merge (squash) June 12, 2024 21:08
@kripken kripken merged commit 3468619 into WebAssembly:main Jun 12, 2024
@kripken kripken deleted the wasm2js.tables.2 branch June 12, 2024 23:19
@gkdn gkdn mentioned this pull request Aug 31, 2024
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