commit | eb87590c5346b7c17032242e2232a6c1d217f964 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Aug 27 04:02:30 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Aug 27 04:02:30 2009 +0000 |
tree | 454809f94dd8161e3f835ba8d2abc50e8e4e7b16 | |
parent | 612956220f38126feaacceb378cf105043739271 [diff] [blame] |
smallvectorize the list of returns built by CloneAndPruneFunctionInto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80202 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Utils/CloneModule.cpp b/lib/Transforms/Utils/CloneModule.cpp index 13b2d46..0285f8c 100644 --- a/lib/Transforms/Utils/CloneModule.cpp +++ b/lib/Transforms/Utils/CloneModule.cpp
@@ -108,7 +108,7 @@ ValueMap[J] = DestI++; } - std::vector<ReturnInst*> Returns; // Ignore returns cloned... + SmallVector<ReturnInst*, 8> Returns; // Ignore returns cloned. CloneFunctionInto(F, I, ValueMap, Returns); }