You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This basically does the "handwaving" we discussed in WebAssembly#218. I think
adding a concept of a backing store through backdoors in the core spec
is not very feasible, so this is what we can do practically at this
point.
Hopefully resolvesWebAssembly#242.
Copy file name to clipboardExpand all lines: document/js-api/index.bs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1045,6 +1045,7 @@ This slot holds a [=function address=] relative to the [=surrounding agent=]'s [
1045
1045
1. Set |i| to |i| + 1.
1046
1046
1. Let (|store|, |ret|) be the result of [=func_invoke=](|store|, |funcaddr|, |args|).
1047
1047
1. Note: The expectation is that [=func_invoke=] will be updated to return (|store|, <var ignore>val</var>* | [=error=] | (exception |exntag| |payload| |opaqueData|)).
1048
+
1. Note: The core spec does not have a notion of |opaqueData| in itself, but a backing store that serves as |opaqueData| is necessary to complete this step.
1048
1049
1. Set the [=surrounding agent=]'s [=associated store=] to |store|.
1049
1050
1. If |ret| is [=error=], throw an exception. This exception should be a WebAssembly {{RuntimeError}} exception, unless otherwise indicated by <a href="#errors">the WebAssembly error mapping</a>.
1050
1051
1. If |ret| is exception |exntag| |payload| |opaqueData|, then
0 commit comments