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/Transforms/Utils/ValueMapper.cpp | |
parent | 019f4142610d4a3bfb24dca0224770ff9e512706 (diff) | |
download | bcm5719-llvm-4aa3295a655e48bbb065ac1d51bc1eb890cda4dd.tar.gz bcm5719-llvm-4aa3295a655e48bbb065ac1d51bc1eb890cda4dd.zip |
Return ConstantVector to 2.5 API.
llvm-svn: 77366
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/ValueMapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp index 673bb0b58e0..3bef8124e17 100644 --- a/llvm/lib/Transforms/Utils/ValueMapper.cpp +++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp @@ -101,7 +101,7 @@ Value *llvm::MapValue(const Value *V, ValueMapTy &VM, LLVMContext &Context) { Values.push_back(cast<Constant>(MV)); for (++i; i != e; ++i) Values.push_back(cast<Constant>(MapValue(*i, VM, Context))); - return VM[V] = Context.getConstantVector(Values); + return VM[V] = ConstantVector::get(Values); } } return VM[V] = C; |