mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Use SmallVector consistently across the call graph.
Swift SVN r27073
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user