aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2019-01-10 23:44:31 +0800
committerchriseth <chris@ethereum.org>2019-01-18 03:36:48 +0800
commite6fee257e68e7b145a47eee8c5937db7a7a99849 (patch)
treed4dce225357536d378d69f1ac87c4c5132d15613 /test
parent2fcfb216b5dcb5cec2d70d2ee7647df47c8166ca (diff)
downloaddexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar.gz
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.cpp3
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();
}