Skip to content

[Memory64] preamble JS changes for 64-bit #15225

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

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

aardappel
Copy link
Collaborator

No description provided.

@aardappel aardappel requested a review from kripken October 4, 2021 23:15
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

lgtm % comment

(function(name) {
var original = exports[name];
var replacement = original;
if (name === 'stackAlloc' || name === 'malloc') {
Copy link
Member

Choose a reason for hiding this comment

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

This method won't work if we minify the names of exports, which we do in -O3 etc. For now, please add a comment // TODO: support minified export names, and in a later PR we should disable that minification for MEMORY64 for now (that would be in minify_wasm_imports_and_exports in tools/building.py)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok, will do.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Addressed here: #15305

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