| 158 | } |
| 159 | |
| 160 | void NoOutputAssembly::appendFunctionReturn() |
| 161 | { |
| 162 | yulAssert(m_currentFunctionID != 0, "End function without begin function."); |
| 163 | auto const [_, rets] = m_context.functionSignatures.at(m_currentFunctionID); |
| 164 | yulAssert(m_stackHeight == rets, "Stack height mismatch at function end."); |
| 165 | } |
| 166 | |
| 167 | void NoOutputAssembly::appendDataOffset(std::vector<AbstractAssembly::SubID> const&) |
| 168 | { |