| 1429 | } |
| 1430 | |
| 1431 | void 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 | |
| 1443 | void ContractCompiler::appendModifierOrFunctionCode() |
| 1444 | { |
no test coverage detected