MCPcopy Create free account
hub / github.com/argotorg/solidity / operator()

Method operator()

test/libyul/StackLayoutGeneratorTest.cpp:79–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 {
78 }
79 void operator()(CFG::BasicBlock const& _block, bool _isMainEntry = true)
80 {
81 if (_isMainEntry)
82 {
83 m_stream << "Entry [label=\"Entry\"];\n";
84 m_stream << "Entry -> Block" << getBlockId(_block) << ";\n";
85 }
86 while (!m_blocksToPrint.empty())
87 {
88 CFG::BasicBlock const* block = *m_blocksToPrint.begin();
89 m_blocksToPrint.erase(m_blocksToPrint.begin());
90 printBlock(*block);
91 }
92
93 }
94 void operator()(
95 CFG::FunctionInfo const& _info
96 )

Callers

nothing calls this directly

Calls 6

joinHumanReadableFunction · 0.85
eraseMethod · 0.80
strMethod · 0.80
stackToStringFunction · 0.50
emptyMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected