aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-02-05 16:57:38 +0000
committerAnders Carlsson <andersca@mac.com>2008-02-05 16:57:38 +0000
commitcad3ab611ebd3bee3ce6395d649640047f904cde (patch)
treed7472c4f14efd5831d9a3dbceea594d86dd6bbaa
parentfb1aeb804c08d5288a923fb278161783e6abdc66 (diff)
Append input argument to args vector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46751 91177308-0d34-0410-b5e6-96231b3b80d8
-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 += '*';