| Index: test/common/wasm/wasm-module-runner.cc
|
| diff --git a/test/common/wasm/wasm-module-runner.cc b/test/common/wasm/wasm-module-runner.cc
|
| index e408210a53377c08c6f5275fb901fb370aa0f38b..b9847e48d00e7907615e19d5981b52ed6a13b18b 100644
|
| --- a/test/common/wasm/wasm-module-runner.cc
|
| +++ b/test/common/wasm/wasm-module-runner.cc
|
| @@ -12,6 +12,7 @@
|
| #include "src/wasm/wasm-interpreter.h"
|
| #include "src/wasm/wasm-js.h"
|
| #include "src/wasm/wasm-module.h"
|
| +#include "src/wasm/wasm-objects.h"
|
| #include "src/wasm/wasm-result.h"
|
|
|
| namespace v8 {
|
| @@ -62,7 +63,7 @@ const Handle<JSObject> InstantiateModuleForTesting(Isolate* isolate,
|
| // Although we decoded the module for some pre-validation, run the bytes
|
| // again through the normal pipeline.
|
| // TODO(wasm): Use {module} instead of decoding the module bytes again.
|
| - MaybeHandle<JSObject> module_object = CreateModuleObjectFromBytes(
|
| + MaybeHandle<WasmModuleObject> module_object = CreateModuleObjectFromBytes(
|
| isolate, module->module_start, module->module_end, thrower,
|
| ModuleOrigin::kWasmOrigin, Handle<Script>::null(), nullptr, nullptr);
|
| if (module_object.is_null()) {
|
|
|