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 | 2f422e06e096ae765ced5d4c67ac063c3e216424 (patch) | |
tree | b00e71c30dafeea2c63c1b512c0d858e621870fa /lib/VMCore/Core.cpp | |
parent | 5c03715743f38b03b73c74b9e7c7b2faa2d28977 (diff) | |
download | external_llvm-2f422e06e096ae765ced5d4c67ac063c3e216424.zip external_llvm-2f422e06e096ae765ced5d4c67ac063c3e216424.tar.gz external_llvm-2f422e06e096ae765ced5d4c67ac063c3e216424.tar.bz2 |
Return ConstantVector to 2.5 API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Core.cpp')
-rw-r--r-- | lib/VMCore/Core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index a262f40..d1e6fb2 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -421,7 +421,7 @@ LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count, } LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size) { - return wrap(getGlobalContext().getConstantVector( + return wrap(ConstantVector::get( unwrap<Constant>(ScalarConstantVals, Size), Size)); } |