summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index 6f0d10565..406938a56 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -1289,7 +1289,7 @@ public:
Flow visitRefFunc(RefFunc* curr) {
NOTE_ENTER("RefFunc");
NOTE_NAME(curr->func);
- return Literal::makeFunc(curr->func);
+ return Literal::makeFunc(curr->func, curr->type);
}
Flow visitRefEq(RefEq* curr) {
NOTE_ENTER("RefEq");