Skip to content

Add ChangeLog entries for 64-bit integer changes #24289

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
May 9, 2025

Conversation

RReverser
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

lgtm, but could either of these changes be responsible for the recent failures we are seeing on the emscripten-release waterfall: https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket/8715382721933541089/+/u/Emscripten_testsuite__SAFE_HEAP_/stdout

(https://ci.chromium.org/p/emscripten-releases/g/main/console)

@RReverser
Copy link
Collaborator Author

Yeah that test failure looks legit, looks like unSign needs to be modified to handle bigints. I wonder why it was not caught by the main CI?

@RReverser
Copy link
Collaborator Author

Ah I guess regular CI doesn't run the entire testsuite with SAFE_HEAP but that one does. I'll make a separate PR.

@sbc100 sbc100 merged commit f3d9eb4 into emscripten-core:main May 9, 2025
28 checks passed
RReverser added a commit to RReverser/emscripten that referenced this pull request May 9, 2025
This streamlines the `SAFE_HEAP` transform in acorn-optimizer. I was going
to send this as a separate cleanup PR as part of my other work on
acorn-optimizer, but it happens to also be the easy fix for a regression
mentioned in emscripten-core#24289
and caused by emscripten-core#24283
which added support for 64-bit integers to acorn-optimizer passes.

I could fix that issue separately by tweaking `unSign`, but this way we
don't need to bother - the values with correct sign are now
automatically retrieved by accessing the correct `HEAP*` array.

I've added a regression test for the linked issue as well, which
fails before this PR and passes after.
RReverser added a commit to RReverser/emscripten that referenced this pull request May 9, 2025
This streamlines the `SAFE_HEAP` transform in acorn-optimizer. I was going
to send this as a separate cleanup PR as part of my other work on
acorn-optimizer, but it happens to also be the easy fix for a regression
mentioned in emscripten-core#24289
and caused by emscripten-core#24283
which added support for 64-bit integers to acorn-optimizer passes.

I could fix that issue separately by tweaking `unSign`, but this way we
don't need to bother - the values with correct sign are now
automatically retrieved by accessing the correct `HEAP*` array.

I've added a regression test for the linked issue as well, which
fails before this PR and passes after.
RReverser added a commit that referenced this pull request May 13, 2025
This streamlines the `SAFE_HEAP` transform in acorn-optimizer. I was
going to send this as a separate cleanup PR as part of my other work on
acorn-optimizer, but it happens to also be the easy fix for a regression
mentioned in #24289
and caused by #24283
which added support for 64-bit integers to acorn-optimizer passes.

I could fix that issue separately by tweaking `unSign`, but this way we
don't need to bother - the values with correct sign are now
automatically retrieved by accessing the correct `HEAP*` array.

I've added a regression test for the linked issue as well, which fails
before this PR and passes after.
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