mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
c7c0e6c6ef
Rid the Assembly Parser of exceptions. This is a really gross hack but it will do until the Assembly Parser is re-written as a recursive descent. The basic premise is that wherever the old "ThrowException" function was called (new name: GenerateError) we set a flag (TriggerError). Every production checks that flag and calls YYERROR if it is set. Additionally, each call to ThrowException in the grammar is replaced with GEN_ERROR which calls GenerateError and then YYERROR immediately. This prevents the remaining production from continuing after an error condition. llvm-svn: 29763 |
||
---|---|---|
.. | ||
BugDriver.cpp | ||
BugDriver.h | ||
bugpoint.cpp | ||
CrashDebugger.cpp | ||
ExecutionDriver.cpp | ||
ExtractFunction.cpp | ||
FindBugs.cpp | ||
ListReducer.h | ||
Makefile | ||
Miscompilation.cpp | ||
OptimizerDriver.cpp | ||
TestPasses.cpp | ||
ToolRunner.cpp | ||
ToolRunner.h |