]> granicus.if.org Git - clang/commitdiff
Remove unnecessary push_back (at least, I think it's unnecessary);
authorEli Friedman <eli.friedman@gmail.com>
Mon, 4 May 2009 04:12:48 +0000 (04:12 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 4 May 2009 04:12:48 +0000 (04:12 +0000)
hopefully, this fixes PR4144 without any regressions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70823 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGStmt.cpp

index 6874dc076b6343a5219ab5d756d7bd96696d5700..eb7697d3b1b1cd2262aa796283a2f3915970e64a 100644 (file)
@@ -817,8 +817,6 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {
 
   for (unsigned i = 0, e = S.getNumOutputs(); i != e; i++) {    
     TargetInfo::ConstraintInfo &Info = OutputConstraintInfos[i];
-    
-    OutputConstraintInfos.push_back(Info);
 
     // Simplify the output constraint.
     std::string OutputConstraint(S.getOutputConstraint(i));