forked from OSchip/llvm-project
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:
parent
7048edb104
commit
5ef2bc316d
|
@ -2018,7 +2018,7 @@ void Scop::removeErrorBlockDomains() {
|
|||
}
|
||||
};
|
||||
|
||||
std::vector<Region *> Todo = {&R};
|
||||
SmallVector<Region *, 4> Todo = {&R};
|
||||
|
||||
while (!Todo.empty()) {
|
||||
auto SubRegion = Todo.back();
|
||||
|
|
Loading…
Reference in New Issue