diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-12-29 19:50:56 +0100 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-12-29 19:50:56 +0100 |
commit | 30a97274bde7a1988d80861ab9b381148f3d19a7 (patch) | |
tree | 101ce1aa9d9273de048a1f866f90cb22c151eed0 /tests/wasm_compile_br_if/instructions.wat | |
parent | ec9a0f72c6b7d74c9a7e2d4eaef44e26037eaca2 (diff) | |
download | AGH-engineering-thesis-30a97274bde7a1988d80861ab9b381148f3d19a7.tar.gz AGH-engineering-thesis-30a97274bde7a1988d80861ab9b381148f3d19a7.zip |
fix align values
Diffstat (limited to 'tests/wasm_compile_br_if/instructions.wat')
-rw-r--r-- | tests/wasm_compile_br_if/instructions.wat | 6 |
1 files changed, 3 insertions, 3 deletions
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))) |