#include "src/wasm/wasm-objects-inl.h"
#include "src/wasm/wasm-opcodes.h"
#include "src/wasm/wasm-module-builder.h"
#include "test/cctest/cctest.h"
#include "test/cctest/manually-externalized-buffer.h"
#include "test/common/wasm/flag-utils.h"
#include "test/common/wasm/test-signatures.h"
#include "test/common/wasm/wasm-macro-gen.h"
#include "test/common/wasm/wasm-module-runner.h"
namespace v8 {
namespace internal {
namespace wasm {
namespace test_grow_memory {
CompileAndInstantiateForTesting;
ManuallyExternalizedBuffer;
namespace {
void ExportAsMain(WasmFunctionBuilder* f) { … }
#define EMIT_CODE_WITH_END …
void Cleanup(Isolate* isolate = CcTest::InitIsolateOnce()) { … }
}
TEST(GrowMemDetaches) { … }
TEST(Externalized_GrowMemMemSize) { … }
TEST(Run_WasmModule_Buffer_Externalized_GrowMem) { … }
}
}
}
}
#undef EMIT_CODE_WITH_END