mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Split block code generation into main and finalize.
This commit is contained in:
committed by
Alex Beregszaszi
parent
1b3ba7bc57
commit
868b5ad3aa
@@ -100,7 +100,7 @@ MachineAssemblyObject AssemblyStack::assemble(Machine _machine) const
|
||||
{
|
||||
MachineAssemblyObject object;
|
||||
julia::EVMAssembly assembly(true);
|
||||
julia::CodeTransform(assembly, *m_analysisInfo, true).run(*m_parserResult);
|
||||
julia::CodeTransform(assembly, *m_analysisInfo, true)(*m_parserResult);
|
||||
object.bytecode = make_shared<eth::LinkerObject>(assembly.finalize());
|
||||
/// TOOD: fill out text representation
|
||||
return object;
|
||||
|
||||
Reference in New Issue
Block a user