Magic variables are only needed durinng name and type resolution, not during compilation.

This commit is contained in:
Christian 2015-01-16 18:52:27 +01:00
parent 580d712a67
commit 70cda182f2

View File

@ -64,7 +64,7 @@ bytes compileContract(const string& _sourceCode)
if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get()))
{
Compiler compiler;
compiler.compileContract(*contract, {}, map<ContractDefinition const*, bytes const*>{});
compiler.compileContract(*contract, map<ContractDefinition const*, bytes const*>{});
// debug
//compiler.streamAssembly(cout);