diff options
author | chriseth <chris@ethereum.org> | 2018-02-22 06:56:42 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-03-02 00:19:35 +0800 |
commit | f75a41132553d073202d8bc2ea65cc287c7085b7 (patch) | |
tree | ed4718f854ec68629ec792665920a8603111292c /libsolidity/codegen/ContractCompiler.h | |
parent | 85785710e6182a5abb68e5339f052b4a451d086e (diff) | |
download | dexon-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.h | 2 |
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( |