mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Mark recursive calls in yul control flow graph.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user