commit | af7ec975870f92245f1f1484ac80a1e2db6a0afa | [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 | b00e71c30dafeea2c63c1b512c0d858e621870fa | |
parent | e7c329bf4b48ba3a4539183dc2d0804db6f4042a [diff] [blame] |
Return ConstantVector to 2.5 API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77366 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp index 31d4f82..b3c8a77 100644 --- a/lib/Analysis/ConstantFolding.cpp +++ b/lib/Analysis/ConstantFolding.cpp
@@ -264,7 +264,7 @@ } } - return Context.getConstantVector(Result.data(), Result.size()); + return ConstantVector::get(Result.data(), Result.size()); } }