| 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 53b7cb4ec8ce956e7442268e9bf671c1935d9485..a57c61eaf7f89b4c34b828b3cc44012b45ee55f4 100644
|
| --- a/test/cctest/wasm/wasm-run-utils.h
|
| +++ b/test/cctest/wasm/wasm-run-utils.h
|
| @@ -221,7 +221,8 @@ inline void TestBuildingGraph(Zone* zone, JSGraph* jsgraph, ModuleEnv* module,
|
| FunctionSig* sig, const byte* start,
|
| const byte* end) {
|
| compiler::WasmGraphBuilder builder(zone, jsgraph, sig);
|
| - TreeResult result = BuildTFGraph(&builder, module, sig, start, end);
|
| + TreeResult result =
|
| + BuildTFGraph(zone->allocator(), &builder, module, sig, start, end);
|
| if (result.failed()) {
|
| ptrdiff_t pc = result.error_pc - result.start;
|
| ptrdiff_t pt = result.error_pt - result.start;
|
| @@ -577,7 +578,7 @@ class WasmRunner {
|
| byte AllocateLocal(LocalType type) { return compiler_.AllocateLocal(type); }
|
|
|
| protected:
|
| - Zone zone;
|
| + ZoneForTesting zone;
|
| bool compiled_;
|
| LocalType storage_[WASM_RUNNER_MAX_NUM_PARAMETERS];
|
| FunctionSig signature_;
|
|
|