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

Method getJumpTypeAsString

libevmasm/AssemblyItem.cpp:314–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314std::string AssemblyItem::getJumpTypeAsString() const
315{
316 switch (m_jumpType)
317 {
318 case JumpType::IntoFunction:
319 return "[in]";
320 case JumpType::OutOfFunction:
321 return "[out]";
322 case JumpType::Ordinary:
323 default:
324 return "";
325 }
326}
327
328std::optional<AssemblyItem::JumpType> AssemblyItem::parseJumpType(std::string const& _jumpType)
329{

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.80
assemblyJSONMethod · 0.80
AssemblyItem.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected