From e3d27166370da202bef6c012014604beac41d43f Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 6 Nov 2023 12:29:19 -0800 Subject: Implement table.copy (#6078) Helps #5951 --- src/parser/parsers.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/parser/parsers.h') 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 Result<> makeTableSet(Ctx&, Index); template Result<> makeTableSize(Ctx&, Index); template Result<> makeTableGrow(Ctx&, Index); template Result<> makeTableFill(Ctx&, Index); +template Result<> makeTableCopy(Ctx&, Index); template Result<> makeTry(Ctx&, Index); template Result<> makeTryOrCatchBody(Ctx&, Index, Type type, bool isTry); @@ -1264,6 +1265,10 @@ template Result<> makeTableFill(Ctx& ctx, Index pos) { return ctx.in.err("unimplemented instruction"); } +template Result<> makeTableCopy(Ctx& ctx, Index pos) { + return ctx.in.err("unimplemented instruction"); +} + template Result<> makeTry(Ctx& ctx, Index pos) { return ctx.in.err("unimplemented instruction"); } -- cgit v1.2.3