mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
IRGenerator::generate(): Remove duplicate call to setMostDerivedContract()
- The same call happens in resetContext(_contract) called immediately before
This commit is contained in:
parent
ccc06c49af
commit
1f28f79ae6
@ -110,7 +110,6 @@ string IRGenerator::generate(ContractDefinition const& _contract)
|
|||||||
t("functions", m_context.functionCollector().requestedFunctions());
|
t("functions", m_context.functionCollector().requestedFunctions());
|
||||||
|
|
||||||
resetContext(_contract);
|
resetContext(_contract);
|
||||||
m_context.setMostDerivedContract(_contract);
|
|
||||||
t("RuntimeObject", runtimeObjectName(_contract));
|
t("RuntimeObject", runtimeObjectName(_contract));
|
||||||
t("dispatch", dispatchRoutine(_contract));
|
t("dispatch", dispatchRoutine(_contract));
|
||||||
for (auto const* contract: _contract.annotation().linearizedBaseContracts)
|
for (auto const* contract: _contract.annotation().linearizedBaseContracts)
|
||||||
|
Loading…
Reference in New Issue
Block a user