mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[Yul] Directly jump over a series of function definitions
Implement a AbstractAssembly::setStackHeight function Update the tests Update Changelog
This commit is contained in:
committed by
Vedant Agarwala
parent
b66950711e
commit
5d6cbd97df
@@ -57,6 +57,11 @@ int EthAssemblyAdapter::stackHeight() const
|
||||
return m_assembly.deposit();
|
||||
}
|
||||
|
||||
void EthAssemblyAdapter::setStackHeight(int height)
|
||||
{
|
||||
m_assembly.setDeposit(height);
|
||||
}
|
||||
|
||||
void EthAssemblyAdapter::appendInstruction(dev::eth::Instruction _instruction)
|
||||
{
|
||||
m_assembly.append(_instruction);
|
||||
|
||||
Reference in New Issue
Block a user