diff options
author | Alon Zakai <azakai@google.com> | 2022-07-08 11:42:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 11:42:55 -0700 |
commit | 75d059ad249b9dcedbaaf858747d60d299269d2c (patch) | |
tree | 43545e9c86b62081f6127c9aa3b479cb2921c60b /src/wasm-binary.h | |
parent | 838e8eed2cea3d7818b19620cdca732b8b05dfca (diff) | |
download | binaryen-75d059ad249b9dcedbaaf858747d60d299269d2c.tar.gz binaryen-75d059ad249b9dcedbaaf858747d60d299269d2c.tar.bz2 binaryen-75d059ad249b9dcedbaaf858747d60d299269d2c.zip |
[Strings] string.eq (#4781)
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 6734d3bd6..f89391186 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1145,6 +1145,7 @@ enum ASTNodes { StringEncodeWTF8 = 0x86, StringEncodeWTF16 = 0x87, StringConcat = 0x88, + StringEq = 0x89, }; enum MemoryAccess { @@ -1730,6 +1731,7 @@ public: bool maybeVisitStringMeasure(Expression*& out, uint32_t code); bool maybeVisitStringEncode(Expression*& out, uint32_t code); bool maybeVisitStringConcat(Expression*& out, uint32_t code); + bool maybeVisitStringEq(Expression*& out, uint32_t code); void visitSelect(Select* curr, uint8_t code); void visitReturn(Return* curr); void visitMemorySize(MemorySize* curr); |