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

Method loadFromMemory

libsolidity/codegen/CompilerUtils.cpp:152–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152unsigned CompilerUtils::loadFromMemory(
153 unsigned _offset,
154 Type const& _type,
155 bool _fromCalldata,
156 bool _padToWordBoundaries
157)
158{
159 solAssert(_type.category() != Type::Category::Array, "Unable to statically load dynamic type.");
160 m_context << u256(_offset);
161 return loadFromMemoryHelper(_type, _fromCalldata, _padToWordBoundaries);
162}
163
164void CompilerUtils::loadFromMemoryDynamic(
165 Type const& _type,

Callers 3

retrieveValueMethod · 0.45

Calls 1

categoryMethod · 0.45

Tested by

no test coverage detected