| 135 | } |
| 136 | |
| 137 | void 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 | |
| 145 | void NoOutputAssembly::endFunction() |
| 146 | { |