diff options
author | chriseth <chris@ethereum.org> | 2018-12-07 01:07:08 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-12-12 02:24:31 +0800 |
commit | 8d49e539951791a25a63f470e8a9935679c7404f (patch) | |
tree | 8dae3a5aa91f78576076aa4af61688cb08574c25 /libyul/backends/evm/EVMCodeTransform.h | |
parent | 9f86ede32d4aa3e53bf82d0e4c64dbea3661791b (diff) | |
download | dexon-solidity-8d49e539951791a25a63f470e8a9935679c7404f.tar.gz dexon-solidity-8d49e539951791a25a63f470e8a9935679c7404f.tar.zst dexon-solidity-8d49e539951791a25a63f470e8a9935679c7404f.zip |
Provide Dialect to EVMCodeTransform.
Diffstat (limited to 'libyul/backends/evm/EVMCodeTransform.h')
-rw-r--r-- | libyul/backends/evm/EVMCodeTransform.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libyul/backends/evm/EVMCodeTransform.h b/libyul/backends/evm/EVMCodeTransform.h index 8927e999..e305a68c 100644 --- a/libyul/backends/evm/EVMCodeTransform.h +++ b/libyul/backends/evm/EVMCodeTransform.h @@ -22,8 +22,8 @@ #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> @@ -88,7 +88,7 @@ public: AsmAnalysisInfo& _analysisInfo, Block const& _block, bool _allowStackOpt = false, - bool _yul = false, + Dialect const& _dialect, bool _evm15 = false, ExternalIdentifierAccess const& _identifierAccess = ExternalIdentifierAccess(), bool _useNamedLabelsForFunctions = false @@ -97,7 +97,7 @@ public: _analysisInfo, _block, _allowStackOpt, - _yul, + _dialect, _evm15, _identifierAccess, _useNamedLabelsForFunctions, @@ -115,7 +115,7 @@ protected: AsmAnalysisInfo& _analysisInfo, Block const& _block, bool _allowStackOpt, - bool _yul, + Dialect const& _dialect, bool _evm15, ExternalIdentifierAccess const& _identifierAccess, bool _useNamedLabelsForFunctions, @@ -180,7 +180,7 @@ private: AsmAnalysisInfo& m_info; Scope* m_scope = nullptr; bool const m_allowStackOpt = true; - bool m_yul = false; + Dialect const& m_dialect; bool m_evm15 = false; bool m_useNamedLabelsForFunctions = false; ExternalIdentifierAccess m_identifierAccess; |