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 /src/wasm-binary.h | |
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 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 8f1cbb7de..5e94f5095 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -405,6 +405,7 @@ extern const char* TruncSatFeature; extern const char* SignExtFeature; extern const char* SIMD128Feature; extern const char* ExceptionHandlingFeature; +extern const char* TailCallFeature; enum Subsection { NameFunction = 1, @@ -429,6 +430,8 @@ enum ASTNodes { CallFunction = 0x10, CallIndirect = 0x11, + RetCallFunction = 0x12, + RetCallIndirect = 0x13, Drop = 0x1a, Select = 0x1b, |