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/instructions.wat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/wasm_compile_br/instructions.wat') diff --git a/tests/wasm_compile_br/instructions.wat b/tests/wasm_compile_br/instructions.wat index cc7b370..35c8413 100644 --- a/tests/wasm_compile_br/instructions.wat +++ b/tests/wasm_compile_br/instructions.wat @@ -15,9 +15,9 @@ (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 $eq10 (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 $eq10 (i32.const 10)))) (export "main" (func $main))) -- cgit v1.2.3