aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-14 18:15:46 +0000
committerChris Lattner <sabre@nondot.org>2011-02-14 18:15:46 +0000
commit75831904220042260c4faece8507a2807acba47f (patch)
tree69d0fd5dfad613c79932f7f5c53e2e61a2616cf3 /lib/AsmParser
parent50a47e93cebdf22dacb95a6e75a5b803fc4c3e04 (diff)
downloadexternal_llvm-75831904220042260c4faece8507a2807acba47f.zip
external_llvm-75831904220042260c4faece8507a2807acba47f.tar.gz
external_llvm-75831904220042260c4faece8507a2807acba47f.tar.bz2
revert my ConstantVector patch, it seems to have made the llvm-gcc
builders unhappy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125504 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 cdfacbe..cb4ddcb 100644
--- a/lib/AsmParser/LLParser.cpp
+++ b/lib/AsmParser/LLParser.cpp
@@ -2079,7 +2079,7 @@ bool LLParser::ParseValID(ValID &ID, PerFunctionState *PFS) {
"vector element #" + Twine(i) +
" is not of type '" + Elts[0]->getType()->getDescription());
- ID.ConstantVal = ConstantVector::get(Elts);
+ ID.ConstantVal = ConstantVector::get(Elts.data(), Elts.size());
ID.Kind = ValID::t_Constant;
return false;
}