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

Method newFunctionCall

libevmasm/Assembly.cpp:755–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753}
754
755AssemblyItem Assembly::newFunctionCall(uint16_t _functionID) const
756{
757 solAssert(_functionID < m_codeSections.size(), "Call to undeclared function.");
758 solAssert(_functionID > 0, "Cannot call section 0");
759 auto const& section = m_codeSections.at(_functionID);
760 if (section.nonReturning)
761 return AssemblyItem::jumpToFunction(_functionID, section.inputs, section.outputs);
762 else
763 return AssemblyItem::functionCall(_functionID, section.inputs, section.outputs);
764}
765
766AssemblyItem Assembly::newFunctionReturn() const
767{

Callers

nothing calls this directly

Calls 3

functionCallFunction · 0.85
atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected