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

Method IRGenerator

libsolidity/experimental/codegen/IRGenerator.cpp:47–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45using namespace solidity::util;
46
47IRGenerator::IRGenerator(
48 EVMVersion _evmVersion,
49 std::optional<uint8_t> _eofVersion,
50 frontend::RevertStrings, std::map<std::string, unsigned int>,
51 DebugInfoSelection const&,
52 CharStreamProvider const*,
53 Analysis const& _analysis
54):
55 m_evmVersion(_evmVersion),
56 m_eofVersion(_eofVersion),
57 //m_debugInfoSelection(_debugInfoSelection),
58 //m_soliditySourceProvider(_soliditySourceProvider),
59 m_env(_analysis.typeSystem().env().clone()),
60 m_context{_analysis, &m_env, {}, {}}
61{
62}
63
64std::string IRGenerator::run(
65 ContractDefinition const& _contract,

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected