mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Style adjustments.
This commit is contained in:
parent
73aa171b19
commit
ff71deee2b
@ -40,7 +40,8 @@ using namespace solidity;
|
|||||||
using namespace solidity::yul;
|
using namespace solidity::yul;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
namespace {
|
namespace
|
||||||
|
{
|
||||||
|
|
||||||
uint16_t getMaxStackHeight(CFG::BasicBlock const& _block, StackLayout const& _stackLayout)
|
uint16_t getMaxStackHeight(CFG::BasicBlock const& _block, StackLayout const& _stackLayout)
|
||||||
{
|
{
|
||||||
@ -50,7 +51,7 @@ uint16_t getMaxStackHeight(CFG::BasicBlock const& _block, StackLayout const& _st
|
|||||||
std::set<CFG::BasicBlock const*> visited;
|
std::set<CFG::BasicBlock const*> visited;
|
||||||
toVisit.push_back(&_block);
|
toVisit.push_back(&_block);
|
||||||
|
|
||||||
while(!toVisit.empty())
|
while (!toVisit.empty())
|
||||||
{
|
{
|
||||||
CFG::BasicBlock const* block = toVisit.back();
|
CFG::BasicBlock const* block = toVisit.back();
|
||||||
toVisit.pop_back();
|
toVisit.pop_back();
|
||||||
|
Loading…
Reference in New Issue
Block a user