aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CodeGen/CGStmt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/CodeGen/CGStmt.cpp b/CodeGen/CGStmt.cpp
index 77427fb63c..6393d1da97 100644
--- a/CodeGen/CGStmt.cpp
+++ b/CodeGen/CGStmt.cpp
@@ -626,6 +626,7 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {
Constraints += "=" + OutputConstraint;
} else {
ArgTypes.push_back(Dest.getAddress()->getType());
+ Args.push_back(Dest.getAddress());
if (i != 0)
Constraints += ',';
Constraints += '*';