From dd3094a2a826f4eee0a4318f772c4cb660a9b650 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 4 May 2007 04:01:07 +0000 Subject: [PATCH] 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 --- lib/AsmParser/llvmAsmParser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 63f2261fa11..d8e151c48d5 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -2574,7 +2574,7 @@ BBTerminatorInst : RET ResolvedVal { // Return with a result... std::vector 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();