MCPcopy Create free account
hub / github.com/argotorg/solidity / beginFunction

Method beginFunction

libyul/backends/evm/NoOutputAssembly.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void NoOutputAssembly::beginFunction(FunctionID _functionID)
138{
139 yulAssert(m_currentFunctionID == 0, "Attempted to begin a function before ending the last one.");
140 yulAssert(m_context.functionSignatures.count(_functionID) == 1, "Filling unregistered function.");
141 yulAssert(m_stackHeight == 0, "Non-empty stack on beginFunction call.");
142 m_currentFunctionID = _functionID;
143}
144
145void NoOutputAssembly::endFunction()
146{

Callers 1

operator()Method · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected