diff options
Diffstat (limited to 'src/ir/module-splitting.cpp')
-rw-r--r-- | src/ir/module-splitting.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir/module-splitting.cpp b/src/ir/module-splitting.cpp index 2ef9f505d..2028db13f 100644 --- a/src/ir/module-splitting.cpp +++ b/src/ir/module-splitting.cpp @@ -407,7 +407,7 @@ void ModuleSplitter::thunkExportedSecondaryFunctions() { } auto tableSlot = tableManager.getSlot(secondaryFunc, func->type); func->body = builder.makeCallIndirect( - tableSlot.tableName, tableSlot.makeExpr(primary), args, func->getSig()); + tableSlot.tableName, tableSlot.makeExpr(primary), args, func->type); } } @@ -431,7 +431,7 @@ void ModuleSplitter::indirectCallsToSecondaryFunctions() { builder.makeCallIndirect(tableSlot.tableName, tableSlot.makeExpr(parent.primary), curr->operands, - func->getSig(), + func->type, curr->isReturn)); } void visitRefFunc(RefFunc* curr) { |