Use SmallVector consistently across the call graph.

Swift SVN r27073
This commit is contained in:
Mark Lacey
2015-04-07 07:27:06 +00:00
parent f6e577ef42
commit cd6d1488e8
3 changed files with 8 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ private:
public:
/// Collect and specialize calls in a specific order specified by
/// \p BotUpFuncList.
bool specialize(const std::vector<SILFunction *> &BotUpFuncList);
bool specialize(const llvm::SmallVectorImpl<SILFunction *> &BotUpFuncList);
};
@@ -127,7 +127,7 @@ GenericSpecializer::specializeApplyInstGroup(
/// Collect and specialize calls in a specific order specified by
/// \p BotUpFuncList.
bool GenericSpecializer::specialize(const std::vector<SILFunction *>
bool GenericSpecializer::specialize(const llvm::SmallVectorImpl<SILFunction *>
&BotUpFuncList) {
// Initialize the worklist with a call-graph bottom-up list of functions.
// We specialize the functions in a top-down order, starting from the end