summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/passes/LegalizeJSInterface.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/passes/LegalizeJSInterface.cpp b/src/passes/LegalizeJSInterface.cpp
index 61f3cfba5..659165306 100644
--- a/src/passes/LegalizeJSInterface.cpp
+++ b/src/passes/LegalizeJSInterface.cpp
@@ -167,8 +167,10 @@ struct LegalizeJSInterface : public Pass {
// call
return;
}
- replaceCurrent(Builder(*getModule())
- .makeCall(iter->second, curr->operands, curr->type));
+ replaceCurrent(
+ Builder(*getModule())
+ .makeCall(
+ iter->second, curr->operands, curr->type, curr->isReturn));
}
};