mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:29:27 +02:00
[PATCH 115/188] adding a test for if-instruction
From e9ebae2a690e25eeb71f950e11a0ba47883c0724 Mon Sep 17 00:00:00 2001 From: Dmitry Boyarintsev <skalogryz.lists@gmail.com> Date: Wed, 18 Mar 2020 13:20:21 -0400 git-svn-id: branches/wasm@46111 -
This commit is contained in:
parent
f6705f03a6
commit
2dda2565f2
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -18996,6 +18996,7 @@ utils/wasmbin/testscan/inst_const_i64.wat svneol=native#text/plain
|
||||
utils/wasmbin/testscan/inst_const_i64_neg.wat svneol=native#text/plain
|
||||
utils/wasmbin/testscan/inst_const_i64_neg_hex.wat svneol=native#text/plain
|
||||
utils/wasmbin/testscan/inst_const_i64_pos.wat svneol=native#text/plain
|
||||
utils/wasmbin/testscan/inst_if_value.wat svneol=native#text/plain
|
||||
utils/wasmbin/testscan/inst_unreachable.wat svneol=native#text/plain
|
||||
utils/wasmbin/wasmbin.pas svneol=native#text/plain
|
||||
utils/wasmbin/wasmbincode.pas svneol=native#text/plain
|
||||
|
8
utils/wasmbin/testscan/inst_if_value.wat
Normal file
8
utils/wasmbin/testscan/inst_if_value.wat
Normal file
@ -0,0 +1,8 @@
|
||||
(module
|
||||
(func (result i32)
|
||||
i32.const 0
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
else
|
||||
i32.const 2
|
||||
end))
|
Loading…
Reference in New Issue
Block a user