| Index: test/cctest/wasm/wasm-run-utils.h
|
| diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h
|
| index 2b0e492881a262fdb709bca65d453c25a31db391..a97d5701a07b20c7135c6d5db95dd12419e515f8 100644
|
| --- a/test/cctest/wasm/wasm-run-utils.h
|
| +++ b/test/cctest/wasm/wasm-run-utils.h
|
| @@ -13,8 +13,7 @@
|
| #include <memory>
|
|
|
| #include "src/base/utils/random-number-generator.h"
|
| -#include "src/zone/accounting-allocator.h"
|
| -
|
| +#include "src/code-stubs.h"
|
| #include "src/compiler/compiler-source-position-table.h"
|
| #include "src/compiler/graph-visualizer.h"
|
| #include "src/compiler/int64-lowering.h"
|
| @@ -357,8 +356,9 @@ inline void TestBuildingGraph(Zone* zone, JSGraph* jsgraph, ModuleEnv* module,
|
| FunctionSig* sig,
|
| SourcePositionTable* source_position_table,
|
| const byte* start, const byte* end) {
|
| - compiler::WasmGraphBuilder builder(module, zone, jsgraph, sig,
|
| - source_position_table);
|
| + compiler::WasmGraphBuilder builder(
|
| + module, zone, jsgraph, CEntryStub(jsgraph->isolate(), 1).GetCode(), sig,
|
| + source_position_table);
|
| DecodeResult result =
|
| BuildTFGraph(zone->allocator(), &builder, sig, start, end);
|
| if (result.failed()) {
|
|
|