mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove unused function.
This commit is contained in:
parent
2741175507
commit
7637286074
@ -60,8 +60,3 @@ std::shared_ptr<evmasm::Assembly> Compiler::runtimeAssemblyPtr() const
|
|||||||
solAssert(m_context.runtimeContext(), "");
|
solAssert(m_context.runtimeContext(), "");
|
||||||
return m_context.runtimeContext()->assemblyPtr();
|
return m_context.runtimeContext()->assemblyPtr();
|
||||||
}
|
}
|
||||||
|
|
||||||
evmasm::AssemblyItem Compiler::functionEntryLabel(FunctionDefinition const& _function) const
|
|
||||||
{
|
|
||||||
return m_runtimeContext.functionEntryLabelIfExists(_function);
|
|
||||||
}
|
|
||||||
|
@ -62,10 +62,6 @@ public:
|
|||||||
std::string generatedYulUtilityCode() const { return m_context.generatedYulUtilityCode(); }
|
std::string generatedYulUtilityCode() const { return m_context.generatedYulUtilityCode(); }
|
||||||
std::string runtimeGeneratedYulUtilityCode() const { return m_runtimeContext.generatedYulUtilityCode(); }
|
std::string runtimeGeneratedYulUtilityCode() const { return m_runtimeContext.generatedYulUtilityCode(); }
|
||||||
|
|
||||||
/// @returns the entry label of the given function. Might return an AssemblyItem of type
|
|
||||||
/// UndefinedItem if it does not exist yet.
|
|
||||||
evmasm::AssemblyItem functionEntryLabel(FunctionDefinition const& _function) const;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
OptimiserSettings const m_optimiserSettings;
|
OptimiserSettings const m_optimiserSettings;
|
||||||
CompilerContext m_runtimeContext;
|
CompilerContext m_runtimeContext;
|
||||||
|
Loading…
Reference in New Issue
Block a user