Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index d9f50877618b97d65e113625e8a4026d669ff881..dc849c08fcf8d7cb7830f55b2c5ce3e8389de0c2 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -355,6 +355,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) |