diff options
author | Derek Schuff <dschuff@chromium.org> | 2017-11-13 15:18:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 15:18:30 -0800 |
commit | ca09203416a556f0a895f6cfa32426bdd46f9824 (patch) | |
tree | 263697a28594c67424472a7410d256994476f4de /test/ctor-eval/basics-flatten.wast | |
parent | 20b8b02ff331f8b59d44e2a72ebd6f81e08f49ac (diff) | |
download | binaryen-ca09203416a556f0a895f6cfa32426bdd46f9824.tar.gz binaryen-ca09203416a556f0a895f6cfa32426bdd46f9824.tar.bz2 binaryen-ca09203416a556f0a895f6cfa32426bdd46f9824.zip |
Update call_indirect text syntax to match spec update (#1281)
Function type gets its own element rather than being a part of the call_indirect
(see WebAssembly/spec#599)
Diffstat (limited to 'test/ctor-eval/basics-flatten.wast')
-rw-r--r-- | test/ctor-eval/basics-flatten.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ctor-eval/basics-flatten.wast b/test/ctor-eval/basics-flatten.wast index 3bbd27a6b..da8b76163 100644 --- a/test/ctor-eval/basics-flatten.wast +++ b/test/ctor-eval/basics-flatten.wast @@ -13,7 +13,7 @@ (func $test1 (drop (i32.const 0)) ;; no work at all, really (call $safe-to-call) ;; safe to call - (call_indirect $v (i32.const 0)) ;; safe to call + (call_indirect (type $v) (i32.const 0)) ;; safe to call ) (func $test2 (drop (i32.load (i32.const 12))) ;; a safe load |