summaryrefslogtreecommitdiff
path: root/src/passes/Directize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Directize.cpp')
-rw-r--r--src/passes/Directize.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/passes/Directize.cpp b/src/passes/Directize.cpp
index f6969cce5..663b8257b 100644
--- a/src/passes/Directize.cpp
+++ b/src/passes/Directize.cpp
@@ -65,7 +65,8 @@ struct FunctionDirectizer : public WalkerPass<PostWalker<FunctionDirectizer>> {
}
// Everything looks good!
replaceCurrent(
- Builder(*getModule()).makeCall(name, curr->operands, curr->type));
+ Builder(*getModule())
+ .makeCall(name, curr->operands, curr->type, curr->isReturn));
}
}