[PATCH 072/188] additional test

From 1fa603ea8252b02498eb206f5eec195e2ee64b6e Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 5 Mar 2020 09:53:04 -0500

git-svn-id: branches/wasm@46068 -
This commit is contained in:
nickysn 2020-08-03 13:00:00 +00:00
parent e0621577f4
commit 5c02ead33c
3 changed files with 32 additions and 0 deletions

2
.gitattributes vendored
View File

@ -18979,6 +18979,8 @@ utils/wasmbin/README.md svneol=native#text/plain
utils/wasmbin/lebutils.pas svneol=native#text/plain
utils/wasmbin/parseutils.pas svneol=native#text/plain
utils/wasmbin/testscan/asmsym1.wat svneol=native#text/plain
utils/wasmbin/testscan/asmsym2.wat svneol=native#text/plain
utils/wasmbin/testscan/asmsym3.wat svneol=native#text/plain
utils/wasmbin/wasmbin.pas svneol=native#text/plain
utils/wasmbin/wasmbincode.pas svneol=native#text/plain
utils/wasmbin/wasmbindebug.pas svneol=native#text/plain

View File

@ -0,0 +1,13 @@
(module
(func $anycall (param $i i32)
unreachable
)
;;.name hello
;;.forhost
(func $add (param $lhs i32) (param $rhs i32) (result i32)
get_local $lhs
get_local $rhs
i32.add)
(export "add" (func $add))
)

View File

@ -0,0 +1,17 @@
(module
;;.local
;;.undef
(func $anycall (param $i i32)
unreachable
)
;;.name hello
;;.forhost
(func $add (param $lhs i32) (param $rhs i32) (result i32)
get_local $lhs
call $anycall
get_local $lhs
get_local $rhs
i32.add)
(export "add" (func $add))
)