diff options
Diffstat (limited to 'src/shell-interface.h')
-rw-r--r-- | src/shell-interface.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shell-interface.h b/src/shell-interface.h index 6c6ddf7f2..8c3109787 100644 --- a/src/shell-interface.h +++ b/src/shell-interface.h @@ -152,7 +152,7 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface { Literals callTable(Name tableName, Index index, - Signature sig, + HeapType sig, LiteralList& arguments, Type results, ModuleInstance& instance) override { @@ -173,8 +173,8 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface { if (!func) { trap("uninitialized table element"); } - if (sig != func->getSig()) { - trap("callIndirect: function signatures don't match"); + if (sig != func->type) { + trap("callIndirect: function types don't match"); } if (func->getParams().size() != arguments.size()) { trap("callIndirect: bad # of arguments"); |