| Index: src/wasm/ast-decoder.cc
|
| diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc
|
| index 9e943b0fa534b8b643aff485d6f6e04f8279288d..fd22713805a530d9453e6275687068750ce189ac 100644
|
| --- a/src/wasm/ast-decoder.cc
|
| +++ b/src/wasm/ast-decoder.cc
|
| @@ -1316,8 +1316,8 @@ class SR_WasmDecoder : public WasmDecoder {
|
| TypeCheckLast(p, kAstI32); // index
|
| if (build()) {
|
| MemoryAccessOperand operand(this, p->pc());
|
| - p->tree->node =
|
| - builder_->LoadMem(type, mem_type, p->last()->node, operand.offset);
|
| + p->tree->node = builder_->LoadMem(type, mem_type, p->last()->node,
|
| + operand.offset, operand.alignment);
|
| }
|
| }
|
|
|
| @@ -1331,7 +1331,7 @@ class SR_WasmDecoder : public WasmDecoder {
|
| MemoryAccessOperand operand(this, p->pc());
|
| TFNode* val = p->tree->children[1]->node;
|
| builder_->StoreMem(mem_type, p->tree->children[0]->node, operand.offset,
|
| - val);
|
| + operand.alignment, val);
|
| p->tree->node = val;
|
| }
|
| }
|
|
|