| 1493 | } |
| 1494 | |
| 1495 | void CompilerUtils::popAndJump(unsigned _toHeight, evmasm::AssemblyItem const& _jumpTo) |
| 1496 | { |
| 1497 | solAssert(m_context.stackHeight() >= _toHeight); |
| 1498 | unsigned amount = m_context.stackHeight() - _toHeight; |
| 1499 | popStackSlots(amount); |
| 1500 | m_context.appendJumpTo(_jumpTo); |
| 1501 | m_context.adjustStackOffset(static_cast<int>(amount)); |
| 1502 | } |
| 1503 | |
| 1504 | unsigned CompilerUtils::sizeOnStack(std::vector<Type const*> const& _variableTypes) |
| 1505 | { |
no test coverage detected