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

Method setStackOffset

libsolidity/codegen/CompilerContext.h:108–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 std::shared_ptr<evmasm::Assembly> compiledContractRuntime(ContractDefinition const& _contract) const;
107
108 void setStackOffset(int _offset) { m_asm->setDeposit(_offset); }
109 void adjustStackOffset(int _adjustment) { m_asm->adjustDeposit(_adjustment); }
110 unsigned stackHeight() const { solAssert(m_asm->deposit() >= 0, ""); return unsigned(m_asm->deposit()); }
111 size_t reachableStackDepth() const { return m_evmVersion.reachableStackDepth(); }

Callers 3

visitMethod · 0.80

Calls 1

setDepositMethod · 0.80

Tested by

no test coverage detected