-
Notifications
You must be signed in to change notification settings - Fork 36
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
Update constant value for exnref type #92
Comments
I think that -18 in WebAssembly/reference-types#66 is in decimal, while our -0x18 is in hexadecimal. |
Oh, that case wabt is just wrong I guess: https://github.com/WebAssembly/wabt/blob/76ff3af40040a90c15b6b9f2614f3a3869dbdab1/src/common.h#L217 I'll propose a change there. |
sbc100
added a commit
to WebAssembly/wabt
that referenced
this issue
Dec 26, 2019
The spec for this was specified as -18 in decimal which is -0x12 in hex. Fixes: WebAssembly/exception-handling#92
Not sure what you mean. The current wabt implementation looks correct. Exnref is -0x18, in hexadecimal. |
ioannad
pushed a commit
to ioannad/exception-handling
that referenced
this issue
Jun 6, 2020
ioannad
pushed a commit
to ioannad/exception-handling
that referenced
this issue
Jun 6, 2020
data.drop must update the store, not the frame. There may be multiple copies of the frame, so any updates will only update once. We can make sure that all copies are updated by using an indirection through data addresses and updating the store instead. See discussion in PR WebAssembly#92.
ioannad
pushed a commit
to ioannad/exception-handling
that referenced
this issue
Jun 6, 2020
In the generated test files the generic imports contained a function that does not exist anymore. This caused all tests to fail. This PR removes the function from the imports.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are currently using -0x18, but that slot just used by reference-types for nullref:
WebAssembly/reference-types#66
The text was updated successfully, but these errors were encountered: