aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-10-09 17:36:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-10-09 17:36:59 +0000
commitf63697de046e3830c16492822addd134e96ffdc5 (patch)
treea84e904ebe54b6b91b884397fab236047ec925c3 /lib/CodeGen/MachineBasicBlock.cpp
parentd68d2c312a1bf4b07a76a7fcdf515d71178adb9c (diff)
Fix PR886:
The result of yyparse() was not being checked. When YYERROR or YYABORT is called it causes yyparse() to return 1 to indicate the error. The code was silently ignoring this situation because it previously expected either an exception or a null ParserResult to indicate an error. The patch corrects this situation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions