From 30a97274bde7a1988d80861ab9b381148f3d19a7 Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Tue, 29 Dec 2020 19:50:56 +0100 Subject: fix align values --- tests/wasm_compile_br_if/instructions.wat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/wasm_compile_br_if') diff --git a/tests/wasm_compile_br_if/instructions.wat b/tests/wasm_compile_br_if/instructions.wat index 506a462..cac1fa0 100644 --- a/tests/wasm_compile_br_if/instructions.wat +++ b/tests/wasm_compile_br_if/instructions.wat @@ -16,12 +16,12 @@ (i32.const -1)))) (func $main ;; write 0x00000000 at MEMORY_BOTTOM_ADDR - (i32.store offset=0x0 align=2 (i32.const 0x0) + (i32.store offset=0x0 align=4 (i32.const 0x0) (call $eq10or11 (i32.const 12))) ;; write 0xFFFFFFFF at MEMORY_BOTTOM_ADDR + 0x4 - (i32.store offset=0x0 align=2 (i32.const 0x4) + (i32.store offset=0x0 align=4 (i32.const 0x4) (call $eq10or11 (i32.const 10))) ;; write 0xFFFFFFFF at MEMORY_BOTTOM_ADDR + 0x8 - (i32.store offset=0x0 align=2 (i32.const 0x8) + (i32.store offset=0x0 align=4 (i32.const 0x8) (call $eq10or11 (i32.const 11)))) (export "main" (func $main))) -- cgit v1.2.3