fix a bug where llvm-as couldn't assemble the .ll file for 252.eon.
authorChris Lattner <sabre@nondot.org>
Fri, 4 May 2007 04:01:07 +0000 (04:01 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 4 May 2007 04:01:07 +0000 (04:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36739 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/llvmAsmParser.y

index 63f2261fa1177fcd94c0fa320c7c311d408d1f30..d8e151c48d52b0f609feb874926377f96e408ca6 100644 (file)
@@ -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();