| Index: src/wasm/wasm-js.cc
|
| diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc
|
| index e909655e483e06d71c526558725a79d1b4ce2193..b426d5bf3d41bde3ba9ad1625a38db7b8a4546ad 100644
|
| --- a/src/wasm/wasm-js.cc
|
| +++ b/src/wasm/wasm-js.cc
|
| @@ -248,6 +248,7 @@ void WebAssemblyCompile(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| return;
|
| }
|
| auto bytes = GetFirstArgumentAsBytes(args, &thrower);
|
| + USE(bytes);
|
| if (!IsCompilationAllowed(i_isolate, &thrower, args[0], true)) {
|
| resolver->Reject(context, Utils::ToLocal(thrower.Reify()));
|
| return;
|
| @@ -294,6 +295,7 @@ void WebAssemblyModule(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| return;
|
| }
|
| auto bytes = GetFirstArgumentAsBytes(args, &thrower);
|
| + USE(bytes);
|
| if (!IsCompilationAllowed(i_isolate, &thrower, args[0], false)) return;
|
|
|
| i::MaybeHandle<i::JSObject> module_obj =
|
|
|