diff options
author | Alon Zakai <azakai@google.com> | 2023-11-06 12:29:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-06 12:29:19 -0800 |
commit | e3d27166370da202bef6c012014604beac41d43f (patch) | |
tree | f9e0515c0c6044e6c9b12f6d5d83f8ba99ab0fc3 /src/wasm-binary.h | |
parent | 4fba26a77ea344b8d2b49cc8e1afdc8fcda13e96 (diff) | |
download | binaryen-e3d27166370da202bef6c012014604beac41d43f.tar.gz binaryen-e3d27166370da202bef6c012014604beac41d43f.tar.bz2 binaryen-e3d27166370da202bef6c012014604beac41d43f.zip |
Implement table.copy (#6078)
Helps #5951
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 9e72b3b82..752f306fe 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1132,6 +1132,7 @@ enum ASTNodes { TableGrow = 0x0f, TableSize = 0x10, TableFill = 0x11, + TableCopy = 0x0e, RefNull = 0xd0, RefIsNull = 0xd1, RefFunc = 0xd2, @@ -1844,6 +1845,7 @@ public: bool maybeVisitTableSize(Expression*& out, uint32_t code); bool maybeVisitTableGrow(Expression*& out, uint32_t code); bool maybeVisitTableFill(Expression*& out, uint32_t code); + bool maybeVisitTableCopy(Expression*& out, uint32_t code); bool maybeVisitRefI31(Expression*& out, uint32_t code); bool maybeVisitI31Get(Expression*& out, uint32_t code); bool maybeVisitRefTest(Expression*& out, uint32_t code); |