Use SmallVector instead of std::vector

This was proposed as post-commit review comment for commit r253818.

Suggested by: Johannes Doerfert <doerfert@cs.uni-saarland.de>

llvm-svn: 253862
This commit is contained in:
Tobias Grosser 2015-11-23 10:18:23 +00:00
parent 7048edb104
commit 5ef2bc316d
1 changed files with 1 additions and 1 deletions

View File

@ -2018,7 +2018,7 @@ void Scop::removeErrorBlockDomains() {
}
};
std::vector<Region *> Todo = {&R};
SmallVector<Region *, 4> Todo = {&R};
while (!Todo.empty()) {
auto SubRegion = Todo.back();