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

Method appendMissingFunctions

libsolidity/codegen/ContractCompiler.cpp:1431–1441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1429}
1430
1431void ContractCompiler::appendMissingFunctions()
1432{
1433 while (Declaration const* function = m_context.nextFunctionToCompile())
1434 {
1435 m_context.setStackOffset(0);
1436 function->accept(*this);
1437 solAssert(m_context.nextFunctionToCompile() != function, "Compiled the wrong function?");
1438 }
1439 m_context.appendMissingLowLevelFunctions();
1440 m_context.appendYulUtilityFunctions(m_optimiserSettings);
1441}
1442
1443void ContractCompiler::appendModifierOrFunctionCode()
1444{

Callers 2

deployLibraryMethod · 0.80

Calls 5

nextFunctionToCompileMethod · 0.80
setStackOffsetMethod · 0.80
acceptMethod · 0.45

Tested by

no test coverage detected