Magic variables.

This commit is contained in:
Christian
2014-11-23 21:28:45 +01:00
parent c50cd646ce
commit 583a315d3d
14 changed files with 150 additions and 74 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ bytes const& CompilerStack::compile(bool _optimize)
BOOST_THROW_EXCEPTION(CompilerError() << errinfo_comment("Parsing was not successful."));
m_bytecode.clear();
m_compiler = make_shared<Compiler>();
m_compiler->compileContract(*m_contractASTNode);
m_compiler->compileContract(*m_contractASTNode, m_globalContext->getMagicVariables());
return m_bytecode = m_compiler->getAssembledBytecode(_optimize);
}