[cfe-commits] r70823 - /cfe/trunk/lib/CodeGen/CGStmt.cpp

Eli Friedman eli.friedman at gmail.com
Sun May 3 21:12:48 PDT 2009


Author: efriedma
Date: Sun May  3 23:12:48 2009
New Revision: 70823

URL: http://llvm.org/viewvc/llvm-project?rev=70823&view=rev
Log:
Remove unnecessary push_back (at least, I think it's unnecessary); 
hopefully, this fixes PR4144 without any regressions.


Modified:
    cfe/trunk/lib/CodeGen/CGStmt.cpp

Modified: cfe/trunk/lib/CodeGen/CGStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmt.cpp?rev=70823&r1=70822&r2=70823&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmt.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmt.cpp Sun May  3 23:12:48 2009
@@ -817,8 +817,6 @@
 
   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));





More information about the cfe-commits mailing list