mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Magic variables.
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user