aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-28 21:19:26 +0000
committerOwen Anderson <resistor@mac.com>2009-07-28 21:19:26 +0000
commitaf7ec975870f92245f1f1484ac80a1e2db6a0afa (patch)
treeb00e71c30dafeea2c63c1b512c0d858e621870fa /lib/AsmParser
parente7c329bf4b48ba3a4539183dc2d0804db6f4042a (diff)
downloadexternal_llvm-af7ec975870f92245f1f1484ac80a1e2db6a0afa.zip
external_llvm-af7ec975870f92245f1f1484ac80a1e2db6a0afa.tar.gz
external_llvm-af7ec975870f92245f1f1484ac80a1e2db6a0afa.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/AsmParser')
-rw-r--r--lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index fc58dbc..4302537 100644
--- a/lib/AsmParser/LLParser.cpp
+++ b/lib/AsmParser/LLParser.cpp
@@ -1777,7 +1777,7 @@ bool LLParser::ParseValID(ValID &ID) {
"vector element #" + utostr(i) +
" is not of type '" + Elts[0]->getType()->getDescription());
- ID.ConstantVal = Context.getConstantVector(Elts.data(), Elts.size());
+ ID.ConstantVal = ConstantVector::get(Elts.data(), Elts.size());
ID.Kind = ValID::t_Constant;
return false;
}