aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-09 19:59:16 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-06-16 17:56:21 +0800
commit868b5ad3aa9741609e9cd79d6033ee4b172dbe2f (patch)
tree293c82b54f40527135c8949a960b74a5695152eb /libsolidity/interface
parent1b3ba7bc5796e30143763eb8fcca589bd7095edb (diff)
downloaddexon-solidity-868b5ad3aa9741609e9cd79d6033ee4b172dbe2f.tar.gz
dexon-solidity-868b5ad3aa9741609e9cd79d6033ee4b172dbe2f.tar.zst
dexon-solidity-868b5ad3aa9741609e9cd79d6033ee4b172dbe2f.zip
Split block code generation into main and finalize.
Diffstat (limited to 'libsolidity/interface')
-rw-r--r--libsolidity/interface/AssemblyStack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/AssemblyStack.cpp b/libsolidity/interface/AssemblyStack.cpp
index 7dc1edc7..2d85895e 100644
--- a/libsolidity/interface/AssemblyStack.cpp
+++ b/libsolidity/interface/AssemblyStack.cpp
@@ -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;