diff options
Diffstat (limited to 'src/wasm/wat-parser.cpp')
-rw-r--r-- | src/wasm/wat-parser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wasm/wat-parser.cpp b/src/wasm/wat-parser.cpp index 66bba8862..dfc2190f3 100644 --- a/src/wasm/wat-parser.cpp +++ b/src/wasm/wat-parser.cpp @@ -2383,7 +2383,8 @@ template<typename Ctx> Result<typename Ctx::InstrT> makeStringEncode(Ctx&, Index, StringEncodeOp op); template<typename Ctx> Result<typename Ctx::InstrT> makeStringConcat(Ctx&, Index); -template<typename Ctx> Result<typename Ctx::InstrT> makeStringEq(Ctx&, Index); +template<typename Ctx> +Result<typename Ctx::InstrT> makeStringEq(Ctx&, Index, StringEqOp); template<typename Ctx> Result<typename Ctx::InstrT> makeStringAs(Ctx&, Index, StringAsOp op); template<typename Ctx> @@ -3589,7 +3590,7 @@ Result<typename Ctx::InstrT> makeStringConcat(Ctx& ctx, Index pos) { } template<typename Ctx> -Result<typename Ctx::InstrT> makeStringEq(Ctx& ctx, Index pos) { +Result<typename Ctx::InstrT> makeStringEq(Ctx& ctx, Index pos, StringEqOp op) { return ctx.in.err("unimplemented instruction"); } |