Remove function exceptional returns. More...
#include <util/irep.h>Go to the source code of this file.
Remove function exceptional returns.
Definition in file remove_exceptions.h.
Definition at line 25 of file remove_exceptions.h.
Definition at line 26 of file remove_exceptions.h.
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignments) This does not introduce instanceof expressions.
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignments) This does not introduce instanceof expressions.
Note this is somewhat less accurate than the whole-goto-model version, because we can't inspect other functions to determine whether they throw or not, and therefore must assume they do and always introduce post-call exception dispatch.
@inflight_exception global may be added if not already present. It will not be initialised; that is the caller's responsibility. Definition at line 723 of file remove_exceptions.cpp.
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignments) This does not introduce instanceof expressions.
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignments) This does not introduce instanceof expressions.
@inflight_exception global may be added to its symbol table if not already present. It will not be initialised; that is the caller's responsibility. Definition at line 752 of file remove_exceptions.cpp.
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignments) This introduces instanceof expressions.
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignments) This introduces instanceof expressions.
Note this is somewhat less accurate than the whole-goto-model version, because we can't inspect other functions to determine whether they throw or not, and therefore must assume they do and always introduce post-call exception dispatch.
@inflight_exception global may be added if not already present. It will not be initialised; that is the caller's responsibility. Definition at line 656 of file remove_exceptions.cpp.
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignments) This introduces instanceof expressions.
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignments) This introduces instanceof expressions.
@inflight_exception global may be added to its symbol table if not already present. It will not be initialised; that is the caller's responsibility. Definition at line 678 of file remove_exceptions.cpp.