Use the right version of "append" to combine two SmallVectors.

This fixes the compile-time regressions seen in last night's tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson 2010-05-05 20:44:15 +00:00
parent 9ad2aafef1
commit bc78653057

View File

@ -1604,7 +1604,7 @@ bool GVN::processNonLocalLoad(LoadInst *LI,
}
}
if (!NeedToSplit.empty()) {
toSplit.append(NeedToSplit.size(), NeedToSplit.front());
toSplit.append(NeedToSplit.begin(), NeedToSplit.end());
return false;
}