diff options
author | Dmitry Bezhetskov <Dima00782@gmail.com> | 2021-07-26 00:41:32 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 10:41:32 -0700 |
commit | 9aac0a28896a714b698ab489a473b9bc05deb7c3 (patch) | |
tree | 7e3e40abd22146f2d76981c30dfa693290956448 /src/expr-visitor.h | |
parent | 7eadc12f71483b1d9d8cf16877efa33361d1e493 (diff) | |
download | wabt-9aac0a28896a714b698ab489a473b9bc05deb7c3.tar.gz wabt-9aac0a28896a714b698ab489a473b9bc05deb7c3.tar.bz2 wabt-9aac0a28896a714b698ab489a473b9bc05deb7c3.zip |
Begin support for typed function references proposal: added the flag and supported call_ref (#1691)
Diffstat (limited to 'src/expr-visitor.h')
-rw-r--r-- | src/expr-visitor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr-visitor.h b/src/expr-visitor.h index eda287f0..ab7dc9e4 100644 --- a/src/expr-visitor.h +++ b/src/expr-visitor.h @@ -75,6 +75,7 @@ class ExprVisitor::Delegate { virtual Result OnBrTableExpr(BrTableExpr*) = 0; virtual Result OnCallExpr(CallExpr*) = 0; virtual Result OnCallIndirectExpr(CallIndirectExpr*) = 0; + virtual Result OnCallRefExpr(CallRefExpr*) = 0; virtual Result OnCompareExpr(CompareExpr*) = 0; virtual Result OnConstExpr(ConstExpr*) = 0; virtual Result OnConvertExpr(ConvertExpr*) = 0; @@ -147,6 +148,7 @@ class ExprVisitor::DelegateNop : public ExprVisitor::Delegate { Result OnBrTableExpr(BrTableExpr*) override { return Result::Ok; } Result OnCallExpr(CallExpr*) override { return Result::Ok; } Result OnCallIndirectExpr(CallIndirectExpr*) override { return Result::Ok; } + Result OnCallRefExpr(CallRefExpr*) override { return Result::Ok; } Result OnCompareExpr(CompareExpr*) override { return Result::Ok; } Result OnConstExpr(ConstExpr*) override { return Result::Ok; } Result OnConvertExpr(ConvertExpr*) override { return Result::Ok; } |