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

Method StackVariable

libsolidity/codegen/LValue.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37using namespace solidity::util;
38
39StackVariable::StackVariable(CompilerContext& _compilerContext, VariableDeclaration const& _declaration):
40 LValue(_compilerContext, _declaration.annotation().type),
41 m_baseStackOffset(m_context.baseStackOffsetOfVariable(_declaration)),
42 m_size(m_dataType->sizeOnStack())
43{
44}
45
46void StackVariable::retrieveValue(SourceLocation const& _location, bool) const
47{

Callers

nothing calls this directly

Calls 2

sizeOnStackMethod · 0.45

Tested by

no test coverage detected