diff options
author | Sam Clegg <sbc@chromium.org> | 2019-11-07 18:42:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-07 18:42:51 -0800 |
commit | 2e2991e5a0e6a75d57c9ed6ff7ee0ae88adf253f (patch) | |
tree | 724bddd7110147c66163e6f230d4456e1e1e870f /src/ir-util.cc | |
parent | 2561eaca9cdba262eaa1e74ce877ffc7be543323 (diff) | |
download | wabt-2e2991e5a0e6a75d57c9ed6ff7ee0ae88adf253f.tar.gz wabt-2e2991e5a0e6a75d57c9ed6ff7ee0ae88adf253f.tar.bz2 wabt-2e2991e5a0e6a75d57c9ed6ff7ee0ae88adf253f.zip |
Initial implementation of reftype proposal in the interpreter. (#1206)
- Implement ref.func everywhere.
- Implement table.get and table.set in the interpreter.
Diffstat (limited to 'src/ir-util.cc')
-rw-r--r-- | src/ir-util.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir-util.cc b/src/ir-util.cc index c2cfd6d5..d1dc239f 100644 --- a/src/ir-util.cc +++ b/src/ir-util.cc @@ -155,6 +155,7 @@ ModuleContext::Arities ModuleContext::GetExprArity(const Expr& expr) const { case ExprType::MemorySize: case ExprType::TableSize: case ExprType::RefNull: + case ExprType::RefFunc: return { 0, 1 }; case ExprType::Unreachable: |