Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 10, 2023

Logically the code make more sense here in processLibraryFunction, but its also important that the wasm64 wrapper is the outermost one. Without this the wasm64 adapter is applied to the inner, non-proxied function only.

Split out from #18705

Logically the code make more sense here in processLibraryFunction, but
its also important that the wasm64 wrapper is the outermost one.
Without this the wasm64 adapter is applied to the inner, non-proxied
function only.

Split out from #18705
@sbc100 sbc100 requested a review from kripken February 10, 2023 20:21
}`);
}

if (SHARED_MEMORY) {
Copy link
Member

Choose a reason for hiding this comment

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

Before this was in a check isFunction while now it isn't I think? That's probably fine as only functions can be proxied. Maybe worth an assertion though?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This whole code block is now inside of processLibraryFunction which is only ever called on functions.

@sbc100 sbc100 merged commit 16f6a35 into main Feb 10, 2023
@sbc100 sbc100 deleted the more_proxy_wrapper branch February 10, 2023 22:43
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