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/parser/parsers.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/parser/parsers.h')
-rw-r--r-- | src/parser/parsers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser/parsers.h b/src/parser/parsers.h index 65fd98a24..3a4f9c212 100644 --- a/src/parser/parsers.h +++ b/src/parser/parsers.h @@ -118,6 +118,7 @@ template<typename Ctx> Result<> makeTableSet(Ctx&, Index); template<typename Ctx> Result<> makeTableSize(Ctx&, Index); template<typename Ctx> Result<> makeTableGrow(Ctx&, Index); template<typename Ctx> Result<> makeTableFill(Ctx&, Index); +template<typename Ctx> Result<> makeTableCopy(Ctx&, Index); template<typename Ctx> Result<> makeTry(Ctx&, Index); template<typename Ctx> Result<> makeTryOrCatchBody(Ctx&, Index, Type type, bool isTry); @@ -1264,6 +1265,10 @@ template<typename Ctx> Result<> makeTableFill(Ctx& ctx, Index pos) { return ctx.in.err("unimplemented instruction"); } +template<typename Ctx> Result<> makeTableCopy(Ctx& ctx, Index pos) { + return ctx.in.err("unimplemented instruction"); +} + template<typename Ctx> Result<> makeTry(Ctx& ctx, Index pos) { return ctx.in.err("unimplemented instruction"); } |