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

Method baseToCurrentStackOffset

libsolidity/codegen/CompilerContext.cpp:312–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312unsigned CompilerContext::baseToCurrentStackOffset(unsigned _baseOffset) const
313{
314 return static_cast<unsigned>(m_asm->deposit()) - _baseOffset - 1;
315}
316
317unsigned CompilerContext::currentToBaseStackOffset(unsigned _offset) const
318{

Callers 4

moveToStackVariableMethod · 0.80
retrieveValueMethod · 0.80
storeValueMethod · 0.80

Calls 1

depositMethod · 0.45

Tested by

no test coverage detected