aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ContractCompiler.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-22 06:56:42 +0800
committerchriseth <chris@ethereum.org>2018-03-02 00:19:35 +0800
commitf75a41132553d073202d8bc2ea65cc287c7085b7 (patch)
treeed4718f854ec68629ec792665920a8603111292c /libsolidity/codegen/ContractCompiler.h
parent85785710e6182a5abb68e5339f052b4a451d086e (diff)
downloaddexon-solidity-f75a41132553d073202d8bc2ea65cc287c7085b7.tar.gz
dexon-solidity-f75a41132553d073202d8bc2ea65cc287c7085b7.tar.zst
dexon-solidity-f75a41132553d073202d8bc2ea65cc287c7085b7.zip
Provide target EVM version in CompilerContext.
Diffstat (limited to 'libsolidity/codegen/ContractCompiler.h')
-rw-r--r--libsolidity/codegen/ContractCompiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ContractCompiler.h b/libsolidity/codegen/ContractCompiler.h
index d698dc71..18f31967 100644
--- a/libsolidity/codegen/ContractCompiler.h
+++ b/libsolidity/codegen/ContractCompiler.h
@@ -43,7 +43,7 @@ public:
m_runtimeCompiler(_runtimeCompiler),
m_context(_context)
{
- m_context = CompilerContext(_runtimeCompiler ? &_runtimeCompiler->m_context : nullptr);
+ m_context = CompilerContext(_context.evmVersion(), _runtimeCompiler ? &_runtimeCompiler->m_context : nullptr);
}
void compileContract(