mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Magic variables are only needed durinng name and type resolution, not during compilation.
This commit is contained in:
parent
580d712a67
commit
70cda182f2
@ -64,7 +64,7 @@ bytes compileContract(const string& _sourceCode)
|
|||||||
if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get()))
|
if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get()))
|
||||||
{
|
{
|
||||||
Compiler compiler;
|
Compiler compiler;
|
||||||
compiler.compileContract(*contract, {}, map<ContractDefinition const*, bytes const*>{});
|
compiler.compileContract(*contract, map<ContractDefinition const*, bytes const*>{});
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
//compiler.streamAssembly(cout);
|
//compiler.streamAssembly(cout);
|
||||||
|
Loading…
Reference in New Issue
Block a user