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

Method currentToBaseStackOffset

libsolidity/codegen/CompilerContext.cpp:317–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317unsigned CompilerContext::currentToBaseStackOffset(unsigned _offset) const
318{
319 return static_cast<unsigned>(m_asm->deposit()) - _offset - 1;
320}
321
322std::pair<u256, unsigned> CompilerContext::storageLocationOfVariable(Declaration const& _declaration) const
323{

Callers 1

Calls 1

depositMethod · 0.45

Tested by

no test coverage detected