-
Notifications
You must be signed in to change notification settings - Fork 2
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
New instruction string.from_code_point
#59
Comments
Shouldn't this be returning |
BTW, I think also binaryen mismatches Chrome here and assumes the instruction returns |
@gkdn Yeah, the returned value is never null. I'll adapt the return type in v8 and in my comment above. |
What should happen for invalid code points? Like |
@MaxGraey The instruction traps for invalid codepoints. |
@Liedtke do you have link to the dashboard to track the release? or if you know dev-channel version to get the fix that would work as well. |
@gkdn It's in Dev 112.0.5612, see https://chromiumdash.appspot.com/commit/54b016989406901e819d3090a92739e7bc1c98b9. |
Following up on #5 (comment) we decided to implement
string.from_code_point
for performance evaluations in V8 (see also #58):string.from_code_point(codepoint: i32) -> ref string
, opcode0xfba9
The text was updated successfully, but these errors were encountered: