Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index 83ac86a564c7fc82fdc20609f75f931aa94d8bbf..59415659d80e555e5d785eb1399f37f7a80d2cbd 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -364,6 +364,15 @@ class LocalDeclEncoder { |
static_cast<byte>( \ |
v8::internal::wasm::WasmOpcodes::LoadStoreOpcodeOf(type, true)), \ |
ZERO_ALIGNMENT, static_cast<byte>(offset) |
+#define WASM_LOAD_MEM_ALIGNMENT(type, index, alignment) \ |
+ index, static_cast<byte>( \ |
+ v8::internal::wasm::WasmOpcodes::LoadStoreOpcodeOf(type, false)), \ |
+ alignment, ZERO_OFFSET |
+#define WASM_STORE_MEM_ALIGNMENT(type, index, alignment, val) \ |
+ index, val, \ |
+ static_cast<byte>( \ |
+ v8::internal::wasm::WasmOpcodes::LoadStoreOpcodeOf(type, true)), \ |
+ alignment, ZERO_OFFSET |
#define WASM_CALL_FUNCTION0(index) \ |
kExprCallFunction, 0, static_cast<byte>(index) |