diff options
author | Heejin Ahn <aheejin@gmail.com> | 2021-12-20 19:36:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 19:36:05 -0800 |
commit | 1f3a1d5fae0296fdf503968131905be9e8f40cf4 (patch) | |
tree | 09ecfc4a4e193296cbf27014564e959f12010b89 /test/interp/return-call-local-set.txt | |
parent | e59cf9369004a521814222afbc05ae6b59446cd5 (diff) | |
download | wabt-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.txt | 20 |
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 ;;) |