diff options
author | chriseth <chris@ethereum.org> | 2018-12-07 07:56:16 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-12-12 02:24:44 +0800 |
commit | fb3a0ac1c7d2c4624df6ae62d290a2de7768d036 (patch) | |
tree | 72a8593bf822032ecf50dbc8e1c78e899a5befd4 /libyul/backends/evm/EVMCodeTransform.h | |
parent | 8d49e539951791a25a63f470e8a9935679c7404f (diff) | |
download | dexon-solidity-fb3a0ac1c7d2c4624df6ae62d290a2de7768d036.tar.gz dexon-solidity-fb3a0ac1c7d2c4624df6ae62d290a2de7768d036.tar.zst dexon-solidity-fb3a0ac1c7d2c4624df6ae62d290a2de7768d036.zip |
Codegen for object access.
Diffstat (limited to 'libyul/backends/evm/EVMCodeTransform.h')
-rw-r--r-- | libyul/backends/evm/EVMCodeTransform.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libyul/backends/evm/EVMCodeTransform.h b/libyul/backends/evm/EVMCodeTransform.h index e305a68c..28ef4e45 100644 --- a/libyul/backends/evm/EVMCodeTransform.h +++ b/libyul/backends/evm/EVMCodeTransform.h @@ -20,10 +20,10 @@ #include <libyul/backends/evm/EVMAssembly.h> +#include <libyul/backends/evm/EVMDialect.h> #include <libyul/optimiser/ASTWalker.h> #include <libyul/AsmDataForward.h> #include <libyul/AsmScope.h> -#include <libyul/Dialect.h> #include <boost/variant.hpp> #include <boost/optional.hpp> @@ -87,8 +87,8 @@ public: AbstractAssembly& _assembly, AsmAnalysisInfo& _analysisInfo, Block const& _block, + EVMDialect const& _dialect, bool _allowStackOpt = false, - Dialect const& _dialect, bool _evm15 = false, ExternalIdentifierAccess const& _identifierAccess = ExternalIdentifierAccess(), bool _useNamedLabelsForFunctions = false @@ -115,7 +115,7 @@ protected: AsmAnalysisInfo& _analysisInfo, Block const& _block, bool _allowStackOpt, - Dialect const& _dialect, + EVMDialect const& _dialect, bool _evm15, ExternalIdentifierAccess const& _identifierAccess, bool _useNamedLabelsForFunctions, @@ -179,10 +179,10 @@ private: AbstractAssembly& m_assembly; AsmAnalysisInfo& m_info; Scope* m_scope = nullptr; + EVMDialect const& m_dialect; bool const m_allowStackOpt = true; - Dialect const& m_dialect; - bool m_evm15 = false; - bool m_useNamedLabelsForFunctions = false; + bool const m_evm15 = false; + bool const m_useNamedLabelsForFunctions = false; ExternalIdentifierAccess m_identifierAccess; /// Adjustment between the stack height as determined during the analysis phase /// and the stack height in the assembly. This is caused by an initial stack being present |