diff options
author | Alon Zakai <azakai@google.com> | 2022-07-08 08:32:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 08:32:59 -0700 |
commit | b88bedb16c8177442916eb64ebb4886206aeccf0 (patch) | |
tree | d2c037ce0b59b9a1362c349a61dc3b31a3bfe27e /src/wasm-binary.h | |
parent | 19a437500a4c30f48355722653a01a8c44ff6bec (diff) | |
download | binaryen-b88bedb16c8177442916eb64ebb4886206aeccf0.tar.gz binaryen-b88bedb16c8177442916eb64ebb4886206aeccf0.tar.bz2 binaryen-b88bedb16c8177442916eb64ebb4886206aeccf0.zip |
[Strings] string.concat (#4777)
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 14658890e..6734d3bd6 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1144,6 +1144,7 @@ enum ASTNodes { StringMeasureWTF16 = 0x85, StringEncodeWTF8 = 0x86, StringEncodeWTF16 = 0x87, + StringConcat = 0x88, }; enum MemoryAccess { @@ -1728,6 +1729,7 @@ public: bool maybeVisitStringConst(Expression*& out, uint32_t code); bool maybeVisitStringMeasure(Expression*& out, uint32_t code); bool maybeVisitStringEncode(Expression*& out, uint32_t code); + bool maybeVisitStringConcat(Expression*& out, uint32_t code); void visitSelect(Select* curr, uint8_t code); void visitReturn(Return* curr); void visitMemorySize(MemorySize* curr); |