diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-27 04:02:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-27 04:02:30 +0000 |
commit | d84dbb34438d9de1c09b6860d781784d31f9f0c7 (patch) | |
tree | 097e1a609af222b8d9cb498cfc8e288763c09a44 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 9d0235dc6b832f9ec486d379799f60ae74e3d700 (diff) | |
download | bcm5719-llvm-d84dbb34438d9de1c09b6860d781784d31f9f0c7.tar.gz bcm5719-llvm-d84dbb34438d9de1c09b6860d781784d31f9f0c7.zip |
smallvectorize the list of returns built by CloneAndPruneFunctionInto.
llvm-svn: 80202
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/InlineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp index 1b9691c86c6..70570baae56 100644 --- a/llvm/lib/Transforms/Utils/InlineFunction.cpp +++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp @@ -307,7 +307,7 @@ bool llvm::InlineFunction(CallSite CS, CallGraph *CG, const TargetData *TD) { // Make sure to capture all of the return instructions from the cloned // function. - std::vector<ReturnInst*> Returns; + SmallVector<ReturnInst*, 8> Returns; ClonedCodeInfo InlinedFunctionInfo; Function::iterator FirstNewBlock; |