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

Method revertReasonIfDebug

libsolidity/codegen/CompilerContext.cpp:562–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562std::string CompilerContext::revertReasonIfDebug(std::string const& _message)
563{
564 return YulUtilFunctions::revertReasonIfDebugBody(
565 m_revertStrings,
566 "mload(" + std::to_string(CompilerUtils::freeMemoryPointer) + ")",
567 _message
568 );
569}
570
571void CompilerContext::updateSourceLocation()
572{

Callers 1

abiDecodeMethod · 0.80

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected