| Index: src/wasm/wasm-js.cc
|
| diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc
|
| index 262805b858105ae37952a8727f1e376c23471dc6..eaae9ac5f7b93aac7e60523cb2a635f174226f8f 100644
|
| --- a/src/wasm/wasm-js.cc
|
| +++ b/src/wasm/wasm-js.cc
|
| @@ -121,7 +121,7 @@ void VerifyFunction(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| if (result.val) delete result.val;
|
| }
|
|
|
| -v8::internal::wasm::WasmModuleIndex* TranslateAsmModule(
|
| +v8::internal::wasm::ZoneBuffer* TranslateAsmModule(
|
| i::ParseInfo* info, ErrorThrower* thrower,
|
| i::Handle<i::FixedArray>* foreign_args) {
|
| info->set_global();
|
| @@ -154,9 +154,7 @@ v8::internal::wasm::WasmModuleIndex* TranslateAsmModule(
|
| v8::internal::wasm::AsmWasmBuilder builder(info->isolate(), info->zone(),
|
| info->literal(), &typer);
|
|
|
| - auto module = builder.Run(foreign_args);
|
| -
|
| - return module;
|
| + return builder.Run(foreign_args);
|
| }
|
|
|
| i::MaybeHandle<i::JSObject> InstantiateModuleCommon(
|
| @@ -231,7 +229,7 @@ void InstantiateModuleFromAsm(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| }
|
|
|
| i::MaybeHandle<i::Object> maybe_module_object =
|
| - InstantiateModuleCommon(args, module->Begin(), module->End(), &thrower,
|
| + InstantiateModuleCommon(args, module->begin(), module->end(), &thrower,
|
| internal::wasm::kAsmJsOrigin);
|
| if (maybe_module_object.is_null()) {
|
| return;
|
|
|