summaryrefslogtreecommitdiff
path: root/src/ir/module-splitting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/module-splitting.cpp')
-rw-r--r--src/ir/module-splitting.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ir/module-splitting.cpp b/src/ir/module-splitting.cpp
index 0634171ce..68496045f 100644
--- a/src/ir/module-splitting.cpp
+++ b/src/ir/module-splitting.cpp
@@ -105,8 +105,7 @@ template<class F> void forEachElement(Module& module, F f) {
static RefFunc* makeRefFunc(Module& wasm, Function* func) {
// FIXME: make the type NonNullable when we support it!
- return Builder(wasm).makeRefFunc(func->name,
- Type(HeapType(func->sig), Nullable));
+ return Builder(wasm).makeRefFunc(func->name, func->sig);
}
struct TableSlotManager {