diff options
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index 5b17b7b900..2361c4a334 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -917,8 +917,8 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) { else InOutConstraints += OutputConstraint; - InOutArgTypes.push_back(Arg->getType()); - InOutArgs.push_back(Arg); + InOutArgTypes.push_back(Dest.getAddress()->getType()); + InOutArgs.push_back(Dest.getAddress()); } } |