diff options
author | chriseth <chris@ethereum.org> | 2019-01-10 23:44:31 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2019-01-18 03:36:48 +0800 |
commit | e6fee257e68e7b145a47eee8c5937db7a7a99849 (patch) | |
tree | d4dce225357536d378d69f1ac87c4c5132d15613 /test | |
parent | 2fcfb216b5dcb5cec2d70d2ee7647df47c8166ca (diff) | |
download | dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar.gz dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar.bz2 dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar.lz dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar.xz dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar.zst dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.zip |
Code generation for access to contract code.
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/Assembly.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp index baa9bff1..b5a1797b 100644 --- a/test/libsolidity/Assembly.cpp +++ b/test/libsolidity/Assembly.cpp @@ -46,6 +46,7 @@ namespace dev { namespace solidity { +class Contract; namespace test { @@ -84,7 +85,7 @@ eth::AssemblyItems compileContract(std::shared_ptr<CharStream> _sourceCode) if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get())) { Compiler compiler(dev::test::Options::get().evmVersion()); - compiler.compileContract(*contract, map<ContractDefinition const*, Assembly const*>{}, bytes()); + compiler.compileContract(*contract, map<ContractDefinition const*, shared_ptr<Compiler const>>{}, bytes()); return compiler.runtimeAssemblyItems(); } |