Skip to content

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

Merged
tlively merged 2 commits into
mainfrom
no-stringref-ops
May 15, 2024
Merged

[Strings] Remove operations not included in imported strings#6589
tlively merged 2 commits into
mainfrom
no-stringref-ops

Conversation

@tlively

Copy link
Copy Markdown
Member

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.

@tlivelyGraphite App

tlively commented May 14, 2024

Copy link
Copy Markdown
MemberAuthor

@kripken

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

Yep, I can sign myself up for that.

@kripkenkripken left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
tlivelyforce-pushed the no-stringref-ops branch 3 times, most recently from 43a188f to df5f581CompareMay 15, 2024 05:13
@tlivelyGraphite App

tlively commented May 15, 2024

Copy link
Copy Markdown
MemberAuthor

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 mainMay 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 merged commit 6b43a5e into mainMay 15, 2024
@tlively
tlively deleted the no-stringref-ops branch May 15, 2024 19:07
@gkdngkdn 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 freeto 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

@tlively@kripken