summaryrefslogtreecommitdiff
path: root/test/interp/return-call-local-set.txt
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2021-12-20 19:36:05 -0800
committerGitHub <noreply@github.com>2021-12-20 19:36:05 -0800
commit1f3a1d5fae0296fdf503968131905be9e8f40cf4 (patch)
tree09ecfc4a4e193296cbf27014564e959f12010b89 /test/interp/return-call-local-set.txt
parente59cf9369004a521814222afbc05ae6b59446cd5 (diff)
downloadwabt-1f3a1d5fae0296fdf503968131905be9e8f40cf4.tar.gz
wabt-1f3a1d5fae0296fdf503968131905be9e8f40cf4.tar.bz2
wabt-1f3a1d5fae0296fdf503968131905be9e8f40cf4.zip
Finish instruction renaming (#1792)
This finishes #985. This - replaces the old names in the tests with the new names - drops support for the deprecated names - renames test files to match new instruction names I don't think dropping support for the old names will be a problem at this point. #985 says the old names are supported for convenience but we should remove those too at some point; that "some point" may have well arrived given that three years have passed. The lists of names updated are in #933, #1564, WebAssembly/spec#720.
Diffstat (limited to 'test/interp/return-call-local-set.txt')
-rw-r--r--test/interp/return-call-local-set.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/interp/return-call-local-set.txt b/test/interp/return-call-local-set.txt
new file mode 100644
index 00000000..5b566361
--- /dev/null
+++ b/test/interp/return-call-local-set.txt
@@ -0,0 +1,20 @@
+;;; TOOL: run-interp
+;;; ARGS*: --enable-tail-call
+(module
+ (func (export "f") (result i32)
+ (i64.const 1)
+ (return_call $g))
+
+ (func $g (param i64) (result i32)
+ (i32.const 3)
+ (return_call $h))
+
+ (func $h (param i32) (result i32)
+ (i32.const 2)
+ (local.set 0)
+ (local.get 0)
+ return)
+)
+(;; STDOUT ;;;
+f() => i32:2
+;;; STDOUT ;;)