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

Method setCode

libyul/Object.cpp:210–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208bool Object::hasCode() const { return code() != nullptr; }
209
210void Object::setCode(std::shared_ptr<AST const> const& _ast, std::shared_ptr<yul::AsmAnalysisInfo> _analysisInfo)
211{
212 m_code = _ast;
213 analysisInfo = std::move(_analysisInfo);
214}
215
216void Object::collectSourceIndices(std::map<std::string, unsigned>& _indices) const
217{

Callers 11

runInteractiveMethod · 0.80
runStepMethod · 0.80
visitMethod · 0.80
appendInlineAssemblyMethod · 0.80
parseMethod · 0.80
parseObjectMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 3

runStepMethod · 0.64