commit | 4aa3295a655e48bbb065ac1d51bc1eb890cda4dd | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Jul 28 21:19:26 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Jul 28 21:19:26 2009 +0000 |
tree | 97b1c1e6d93d0091668cc8dbbe004e9589f461d0 | |
parent | 019f4142610d4a3bfb24dca0224770ff9e512706 [diff] [blame] |
Return ConstantVector to 2.5 API. llvm-svn: 77366
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp index 31d4f82..b3c8a77 100644 --- a/llvm/lib/Analysis/ConstantFolding.cpp +++ b/llvm/lib/Analysis/ConstantFolding.cpp
@@ -264,7 +264,7 @@ } } - return Context.getConstantVector(Result.data(), Result.size()); + return ConstantVector::get(Result.data(), Result.size()); } }