diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-07-03 15:56:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 15:56:04 -0700 |
commit | 2a138faec4b21ee2eae89f00d1e00987bab6305a (patch) | |
tree | 9a6482a76a5e796fa27fd95e9a299c7b37bf17a3 /test/tail-call.wast.fromBinary.noDebugInfo | |
parent | 256187c823ab6a04b3b55c3d9d3497ae2004d165 (diff) | |
download | binaryen-2a138faec4b21ee2eae89f00d1e00987bab6305a.tar.gz binaryen-2a138faec4b21ee2eae89f00d1e00987bab6305a.tar.bz2 binaryen-2a138faec4b21ee2eae89f00d1e00987bab6305a.zip |
Initial tail call implementation (#2197)
Including parsing, printing, assembling, disassembling.
TODO:
- interpreting
- effects
- finalization and typing
- fuzzing
- JS/C API
Diffstat (limited to 'test/tail-call.wast.fromBinary.noDebugInfo')
-rw-r--r-- | test/tail-call.wast.fromBinary.noDebugInfo | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/tail-call.wast.fromBinary.noDebugInfo b/test/tail-call.wast.fromBinary.noDebugInfo new file mode 100644 index 000000000..1523db761 --- /dev/null +++ b/test/tail-call.wast.fromBinary.noDebugInfo @@ -0,0 +1,14 @@ +(module + (type $0 (func)) + (table $0 1 1 funcref) + (elem (i32.const 0) $0) + (func $0 (; 0 ;) (type $0) + (return_call $1) + ) + (func $1 (; 1 ;) (type $0) + (return_call_indirect (type $0) + (i32.const 0) + ) + ) +) + |