diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-04 04:01:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-04 04:01:07 +0000 |
commit | dd3094a2a826f4eee0a4318f772c4cb660a9b650 (patch) | |
tree | 82f30865425596d2657e180d36f121b1c8acd799 /lib | |
parent | 964b5f2701ff5c5bad942aae2661149002fad01e (diff) |
fix a bug where llvm-as couldn't assemble the .ll file for 252.eon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 63f2261fa1..d8e151c48d 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -2574,7 +2574,7 @@ BBTerminatorInst : RET ResolvedVal { // Return with a result... std::vector<const Type*> ParamTypes; ParamAttrsVector Attrs; if ($8 != ParamAttr::None) { - ParamAttrsWithIndex PAWI; PAWI.index = 0; PAWI.attrs = 8; + ParamAttrsWithIndex PAWI; PAWI.index = 0; PAWI.attrs = $8; Attrs.push_back(PAWI); } ValueRefList::iterator I = $6->begin(), E = $6->end(); |