diff options
author | Thomas Lively <tlively@google.com> | 2024-01-25 13:00:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-25 13:00:43 -0800 |
commit | 976bd6da4a54505ffc65f18913fbb9aff652e72d (patch) | |
tree | a29031de8dcc8a4d100dce500660b40035ae269a /src/parser/parsers.h | |
parent | 482f3aaf90167cb187ccbc6f1e32dcdb574e3f73 (diff) | |
download | binaryen-976bd6da4a54505ffc65f18913fbb9aff652e72d.tar.gz binaryen-976bd6da4a54505ffc65f18913fbb9aff652e72d.tar.bz2 binaryen-976bd6da4a54505ffc65f18913fbb9aff652e72d.zip |
[Parser] Parse throw_ref (#6238)
Diffstat (limited to 'src/parser/parsers.h')
-rw-r--r-- | src/parser/parsers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/parsers.h b/src/parser/parsers.h index 73a7d0035..0c7c5550f 100644 --- a/src/parser/parsers.h +++ b/src/parser/parsers.h @@ -1646,7 +1646,7 @@ template<typename Ctx> Result<> makeRethrow(Ctx& ctx, Index pos) { } template<typename Ctx> Result<> makeThrowRef(Ctx& ctx, Index pos) { - return ctx.in.err("unimplemented instruction"); + return ctx.makeThrowRef(pos); } template<typename Ctx> Result<> makeTupleMake(Ctx& ctx, Index pos) { |