| 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 f747d84f502cf04741dbf1558f712a34d15d6668..0ee7deb4fcf2615e2265c2f9aba138d74fae5c87 100644
|
| --- a/test/cctest/wasm/wasm-run-utils.h
|
| +++ b/test/cctest/wasm/wasm-run-utils.h
|
| @@ -181,6 +181,10 @@ class TestingModule : public ModuleEnv {
|
| rng.NextBytes(raw, end - raw);
|
| }
|
|
|
| + void SetMaxMemPages(uint32_t max_mem_pages) {
|
| + module_.max_mem_pages = max_mem_pages;
|
| + }
|
| +
|
| uint32_t AddFunction(FunctionSig* sig, Handle<Code> code, const char* name) {
|
| if (module->functions.size() == 0) {
|
| // TODO(titzer): Reserving space here to avoid the underlying WasmFunction
|
|
|