summaryrefslogtreecommitdiff
path: root/deps/v8/src/wasm
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2018-09-17 12:47:16 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-09-20 05:58:53 +0200
commit2811ae48017828579928999e3c4f77fb4c32f77c (patch)
treedfadf2cc8e8dd16589c7778fc3ae97772e1cc8be /deps/v8/src/wasm
parentfadafef4f4e673b71cb33078a588daddf8deed3a (diff)
downloadandroid-node-v8-2811ae48017828579928999e3c4f77fb4c32f77c.tar.gz
android-node-v8-2811ae48017828579928999e3c4f77fb4c32f77c.tar.bz2
android-node-v8-2811ae48017828579928999e3c4f77fb4c32f77c.zip
deps: patch V8 to 6.9.427.23
PR-URL: https://github.com/nodejs/node/pull/22898 Refs: https://github.com/v8/v8/compare/6.9.427.22...6.9.427.23 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'deps/v8/src/wasm')
-rw-r--r--deps/v8/src/wasm/wasm-js.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/src/wasm/wasm-js.cc b/deps/v8/src/wasm/wasm-js.cc
index ef316c64d0..7ff27dc769 100644
--- a/deps/v8/src/wasm/wasm-js.cc
+++ b/deps/v8/src/wasm/wasm-js.cc
@@ -729,6 +729,7 @@ void WebAssemblyInstantiate(const v8::FunctionCallbackInfo<v8::Value>& args) {
if (!i::wasm::IsWasmCodegenAllowed(i_isolate, i_isolate->native_context())) {
thrower.CompileError("Wasm code generation disallowed by embedder");
compilation_resolver->OnCompilationFailed(thrower.Reify());
+ return;
}
// Asynchronous compilation handles copying wire bytes if necessary.