Mark recursive calls in yul control flow graph.

This commit is contained in:
Daniel Kirchner
2021-08-19 16:54:43 +02:00
parent cef0f1b9e1
commit c82f9b9fab
2 changed files with 74 additions and 14 deletions
+3
View File
@@ -131,6 +131,9 @@ struct CFG
std::shared_ptr<DebugData const> debugData;
std::reference_wrapper<Scope::Function const> function;
std::reference_wrapper<yul::FunctionCall const> functionCall;
/// True, if the call is recursive, i.e. entering the function involves a control flow path (potentially involving
/// more intermediate function calls) that leads back to this very call.
bool recursive = false;
};
struct Assignment
{