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-indirect.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-indirect.txt')
-rw-r--r-- | test/interp/return-call-indirect.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/interp/return-call-indirect.txt b/test/interp/return-call-indirect.txt index 1e386b0e..cca47171 100644 --- a/test/interp/return-call-indirect.txt +++ b/test/interp/return-call-indirect.txt @@ -2,7 +2,7 @@ ;;; ARGS*: --enable-tail-call (module (type $iii_i (func (param i32 i32 i32)(result i32))) - (table anyfunc (elem $facInd)) + (table funcref (elem $facInd)) (func (export "facInd10") (result i32) i32.const 10 @@ -14,22 +14,22 @@ (;; Tail call version of factorial, using indirect call ;;) (;; fac(Ix,So) => Ix==0?So:fac(Ix-1,So*Ix) ;;) (func $facInd (type $iii_i) - get_local 0 + local.get 0 i32.const 0 i32.gt_s if (result i32) - get_local 0 + local.get 0 i32.const 1 i32.sub - get_local 1 - get_local 0 + local.get 1 + local.get 0 i32.mul - get_local 2 - get_local 2 + local.get 2 + local.get 2 return_call_indirect (type $iii_i) unreachable else - get_local 1 + local.get 1 return end) ) |