diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 10270eba388..4dff742101c 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -1872,12 +1872,10 @@ TargetDefinition : ENDIAN '=' BigOrLittle { | TRIPLE '=' STRINGCONSTANT { CurModule.CurrentModule->setTargetTriple($3); free($3); - CHECK_FOR_ERROR }; | DATALAYOUT '=' STRINGCONSTANT { CurModule.CurrentModule->setDataLayout($3); free($3); - CHECK_FOR_ERROR }; LibrariesDefinition : '[' LibList ']';