Skip to content
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

[Strings] Implement TODOs in the fuzzer #6416

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

kripken
Copy link
Member

@kripken kripken commented Mar 21, 2024

No description provided.

@kripken kripken requested a review from tlively March 21, 2024 00:16
case HeapType::stringview_iter:
WASM_UNREACHABLE("TODO: strings");
return builder.makeStringAs(
StringAsIter, makeBasicRef(Type(HeapType::string, NonNullable)));
Copy link
Member

Choose a reason for hiding this comment

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

Don't we have separate heap types for all the different stringref views and iterators?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, there are three cases here, stringview_wtf8, wtf16, iter - ? I'm not sure what else you expect to see, sorry.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I think I was confusing HeapType::string for the output type of the expression rather than the input type.

@kripken kripken merged commit ccfd01e into WebAssembly:main Mar 21, 2024
14 checks passed
@kripken kripken deleted the string.fz branch March 21, 2024 17:52
@gkdn gkdn mentioned this pull request Aug 31, 2024
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