mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
9501c8bb58
The return value of a wasm builtin call may just be used to check if the runtime caused an internal error (e.g. oom). There are assertions in code that the return value of wasm builtins not supposed to return a wasm value actually do this, so we shouldn't return values that are only internally used. This could have been done a simpler way by only having "FailureMode::NotZero" imply "do not return", but this is more future-proof like this: shared memory / atomics builtins both check the internal value *and* return it to the wasm value stack. Differential Revision: https://phabricator.services.mozilla.com/D57125 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |