Skip to content

[Strings] Remove operations not included in imported strings #6589

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 2 commits into from
May 15, 2024

Conversation

tlively
Copy link
Member

@tlively tlively commented May 14, 2024

The stringref proposal has been superseded by the imported JS strings proposal,
but the former has many more operations than the latter. To reduce complexity,
remove all operations that are part of stringref but not part of imported
strings.

Copy link
Member Author

tlively commented May 14, 2024

@kripken
Copy link
Member

kripken commented May 14, 2024

I would personally be more cautious about removing stuff, since imported strings may expand 😄 but sgtm if you are willing to restore stuff that ends up necessary.

@tlively
Copy link
Member Author

tlively commented May 14, 2024

Yep, I can sign myself up for that.

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

;; CHECK-NEXT: )
;; CHECK-NEXT: )
;; CHECK-NEXT: )
(func $yes-new-past-store
Copy link
Member

Choose a reason for hiding this comment

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

We don't seem to have any yes-new-* functions after this removal, so we might be losing coverage here.

@tlively tlively force-pushed the no-stringref-ops branch 3 times, most recently from 43a188f to df5f581 Compare May 15, 2024 05:13
Copy link
Member Author

tlively commented May 15, 2024

Merge activity

  • May 15, 3:05 PM EDT: @tlively started a stack merge that includes this pull request via Graphite.
  • May 15, 3:06 PM EDT: Graphite rebased this pull request as part of a merge.
  • May 15, 3:07 PM EDT: @tlively merged this pull request with Graphite.

Base automatically changed from no-stringviews to main May 15, 2024 19:05
tlively added 2 commits May 15, 2024 19:06
The stringref proposal has been superseded by the imported JS strings proposal,
but the former has many more operations than the latter. To reduce complexity,
remove all operations that are part of stringref but not part of imported
strings.
@tlively tlively force-pushed the no-stringref-ops branch from df5f581 to 9f046a2 Compare May 15, 2024 19:06
@tlively tlively merged commit 6b43a5e into main May 15, 2024
@tlively tlively deleted the no-stringref-ops branch May 15, 2024 19:07
@gkdn gkdn mentioned this pull request Aug 31, 2024
CountBleck added a commit to CountBleck/binaryen that referenced this pull request Jun 1, 2025
The definition for this function was removed in WebAssembly#6589.
kripken pushed a commit that referenced this pull request Jun 4, 2025
The definition for this function was removed in #6589.
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