1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

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

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

llvm-svn: 103118
This commit is contained in:
Bob Wilson 2010-05-05 20:44:15 +00:00
parent 9b7ae2027f
commit e4555598a2

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;
}