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

Method allocateMemory

libsolidity/codegen/CompilerUtils.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void CompilerUtils::allocateMemory()
73{
74 fetchFreeMemoryPointer();
75 m_context << Instruction::SWAP1 << Instruction::DUP2 << Instruction::ADD;
76 storeFreeMemoryPointer();
77}
78
79void CompilerUtils::allocateMemory(u256 const& size)
80{

Callers 3

convertTypeMethod · 0.80
pushZeroValueMethod · 0.80
visitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected