#include "test/unittests/test-utils.h"
#include "test/common/wasm/wasm-macro-gen.h"
namespace v8 {
namespace internal {
namespace wasm {
class WasmMacroGenTest : public TestWithZone { … };
#define EXPECT_SIZE …
TEST_F(WasmMacroGenTest, Constants) { … }
TEST_F(WasmMacroGenTest, Statements) { … }
TEST_F(WasmMacroGenTest, MacroStatements) { … }
TEST_F(WasmMacroGenTest, BrTable) { … }
TEST_F(WasmMacroGenTest, Expressions) { … }
TEST_F(WasmMacroGenTest, CallFunction) { … }
TEST_F(WasmMacroGenTest, CallIndirect) { … }
TEST_F(WasmMacroGenTest, Int32Ops) { … }
TEST_F(WasmMacroGenTest, Int64Ops) { … }
TEST_F(WasmMacroGenTest, Float32Ops) { … }
TEST_F(WasmMacroGenTest, Float64Ops) { … }
TEST_F(WasmMacroGenTest, Conversions) { … }
static const MachineType kMemTypes[] = …;
TEST_F(WasmMacroGenTest, LoadsAndStores) { … }
TEST_F(WasmMacroGenTest, LoadsAndStoresWithOffset) { … }
#undef EXPECT_SIZE
}
}
}