commit | f362affa3a695164a94d275fb44d18f44ebb855a | [log] [tgz] |
---|---|---|
author | Jay Foad <jay.foad@gmail.com> | Mon Jul 11 07:56:41 2011 +0000 |
committer | Jay Foad <jay.foad@gmail.com> | Mon Jul 11 07:56:41 2011 +0000 |
tree | c07a3ce28c975fcda45c377276692e508f0dc79a | |
parent | 7f0ce349187e6526ed2d92fe7d2757f84f73ce04 [diff] [blame] |
De-constify Types in FunctionType::get(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134888 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/IPO/ArgumentPromotion.cpp b/lib/Transforms/IPO/ArgumentPromotion.cpp index 54a7f67..3288ee5 100644 --- a/lib/Transforms/IPO/ArgumentPromotion.cpp +++ b/lib/Transforms/IPO/ArgumentPromotion.cpp
@@ -493,7 +493,7 @@ // Start by computing a new prototype for the function, which is the same as // the old function, but has modified arguments. const FunctionType *FTy = F->getFunctionType(); - std::vector<const Type*> Params; + std::vector<Type*> Params; typedef std::set<IndicesVector> ScalarizeTable;