summaryrefslogtreecommitdiff
path: root/test/wasm-only.fromasm.imprecise.no-opts
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-02-22 11:09:39 -0800
committerGitHub <noreply@github.com>2018-02-22 11:09:39 -0800
commit30c1b0c58ee60a730ddfd862fbed7dd5e4d7cf93 (patch)
tree7cd5939f5ad9dfd0f3a7cfb5c48917dd44feb356 /test/wasm-only.fromasm.imprecise.no-opts
parent07f6dfbf0d89d4c07106c0519711dc132f09fab2 (diff)
downloadbinaryen-30c1b0c58ee60a730ddfd862fbed7dd5e4d7cf93.tar.gz
binaryen-30c1b0c58ee60a730ddfd862fbed7dd5e4d7cf93.tar.bz2
binaryen-30c1b0c58ee60a730ddfd862fbed7dd5e4d7cf93.zip
Add i64 high bits (tempRet0) helper funcs when legalizing JS interface (#1428)
* add tempRet0 helpers when necessary in legalize-js-interface
Diffstat (limited to 'test/wasm-only.fromasm.imprecise.no-opts')
-rw-r--r--test/wasm-only.fromasm.imprecise.no-opts10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/wasm-only.fromasm.imprecise.no-opts b/test/wasm-only.fromasm.imprecise.no-opts
index a414e6822..eaa5d7973 100644
--- a/test/wasm-only.fromasm.imprecise.no-opts
+++ b/test/wasm-only.fromasm.imprecise.no-opts
@@ -28,6 +28,8 @@
(export "illegalParam" (func $legalstub$illegalParam))
(export "illegalResult" (func $legalstub$illegalResult))
(export "keepAlive" (func $keepAlive))
+ (export "getTempRet0" (func $getTempRet0))
+ (export "setTempRet0" (func $setTempRet0))
(func $loads (; 9 ;)
(local $i i32)
(local $f f32)
@@ -1754,4 +1756,12 @@
)
)
)
+ (func $getTempRet0 (; 37 ;) (result i32)
+ (get_global $tempRet0)
+ )
+ (func $setTempRet0 (; 38 ;) (param $0 i32)
+ (set_global $tempRet0
+ (get_local $0)
+ )
+ )
)