]> granicus.if.org Git - clang/commitdiff
Append input argument to args vector.
authorAnders Carlsson <andersca@mac.com>
Tue, 5 Feb 2008 16:57:38 +0000 (16:57 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 5 Feb 2008 16:57:38 +0000 (16:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46751 91177308-0d34-0410-b5e6-96231b3b80d8

CodeGen/CGStmt.cpp

index 77427fb63c0c36b3b0966dc46b5a2103124d73ff..6393d1da978f6b686c1ad31293177944c779d56f 100644 (file)
@@ -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 += '*';