Skip to content

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
@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