forked from OSchip/llvm-project
Remove unnecessary push_back (at least, I think it's unnecessary);
hopefully, this fixes PR4144 without any regressions. llvm-svn: 70823
This commit is contained in:
parent
98ba964e5c
commit
33955dd28f
|
@ -818,8 +818,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));
|
||||
OutputConstraint = SimplifyConstraint(OutputConstraint.c_str() + 1, Target);
|
||||
|
|
Loading…
Reference in New Issue