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

Method addStateVariable

libsolidity/codegen/ir/IRGenerationContext.cpp:173–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void IRGenerationContext::addStateVariable(
174 VariableDeclaration const& _declaration,
175 u256 _storageOffset,
176 unsigned _byteOffset
177)
178{
179 m_stateVariables[&_declaration] = std::make_pair(std::move(_storageOffset), _byteOffset);
180}
181
182std::string IRGenerationContext::newYulVariable()
183{

Callers 1

resetContextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected