mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reuse stack slots in Yul to EVM code generation.
This commit is contained in:
@@ -27,13 +27,13 @@ class AbstractAssembly;
|
||||
class EVMObjectCompiler
|
||||
{
|
||||
public:
|
||||
static void compile(Object& _object, AbstractAssembly& _assembly, bool _yul, bool _evm15);
|
||||
static void compile(Object& _object, AbstractAssembly& _assembly, bool _yul, bool _evm15, bool _optimize);
|
||||
private:
|
||||
EVMObjectCompiler(AbstractAssembly& _assembly, bool _yul, bool _evm15):
|
||||
m_assembly(_assembly), m_yul(_yul), m_evm15(_evm15)
|
||||
{}
|
||||
|
||||
void run(Object& _object);
|
||||
void run(Object& _object, bool _optimize);
|
||||
|
||||
AbstractAssembly& m_assembly;
|
||||
bool m_yul = false;
|
||||
|
||||
Reference in New Issue
Block a user