IRGenerator::generate(): Remove duplicate call to setMostDerivedContract()

- The same call happens in resetContext(_contract) called immediately before
This commit is contained in:
Kamil Śliwak 2020-04-10 12:07:53 +02:00
parent ccc06c49af
commit 1f28f79ae6

View File

@ -110,7 +110,6 @@ string IRGenerator::generate(ContractDefinition const& _contract)
t("functions", m_context.functionCollector().requestedFunctions());
resetContext(_contract);
m_context.setMostDerivedContract(_contract);
t("RuntimeObject", runtimeObjectName(_contract));
t("dispatch", dispatchRoutine(_contract));
for (auto const* contract: _contract.annotation().linearizedBaseContracts)