summaryrefslogtreecommitdiff
path: root/src/passes/Inlining.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Inlining.cpp')
-rw-r--r--src/passes/Inlining.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/passes/Inlining.cpp b/src/passes/Inlining.cpp
index a44f02426..9eade8690 100644
--- a/src/passes/Inlining.cpp
+++ b/src/passes/Inlining.cpp
@@ -213,7 +213,8 @@ struct Updater : public PostWalker<Updater> {
}
void visitCallRef(CallRef* curr) {
if (curr->isReturn) {
- handleReturnCall(curr, curr->target->type);
+ handleReturnCall(curr,
+ curr->target->type.getHeapType().getSignature().results);
}
}
void visitLocalGet(LocalGet* curr) {