diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-28 21:19:26 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-28 21:19:26 +0000 |
commit | 4aa3295a655e48bbb065ac1d51bc1eb890cda4dd (patch) | |
tree | 97b1c1e6d93d0091668cc8dbbe004e9589f461d0 /llvm/lib/Analysis/ConstantFolding.cpp | |
parent | 019f4142610d4a3bfb24dca0224770ff9e512706 (diff) | |
download | llvm-4aa3295a655e48bbb065ac1d51bc1eb890cda4dd.zip llvm-4aa3295a655e48bbb065ac1d51bc1eb890cda4dd.tar.gz llvm-4aa3295a655e48bbb065ac1d51bc1eb890cda4dd.tar.bz2 |
Return ConstantVector to 2.5 API.
llvm-svn: 77366
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r-- | llvm/lib/Analysis/ConstantFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ static Constant *FoldBitCast(Constant *C, const Type *DestTy, } } - return Context.getConstantVector(Result.data(), Result.size()); + return ConstantVector::get(Result.data(), Result.size()); } } |