diff options
author | Christian Parpart <christian@ethereum.org> | 2018-10-15 17:58:51 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-10-15 17:58:51 +0800 |
commit | 1304361b9c48438d5c55903492b5f11c3dac73e5 (patch) | |
tree | a8501e929c94a7d36e69a6350e98c68556fe9038 /libyul/backends/evm | |
parent | 9a4bec7e474a310c7f93ff3b84928e0e9ba9cce6 (diff) | |
download | dexon-solidity-1304361b9c48438d5c55903492b5f11c3dac73e5.tar.gz dexon-solidity-1304361b9c48438d5c55903492b5f11c3dac73e5.tar.zst dexon-solidity-1304361b9c48438d5c55903492b5f11c3dac73e5.zip |
Renaming namespace dev::julia to dev::yul.
Diffstat (limited to 'libyul/backends/evm')
-rw-r--r-- | libyul/backends/evm/AbstractAssembly.h | 4 | ||||
-rw-r--r-- | libyul/backends/evm/EVMAssembly.cpp | 2 | ||||
-rw-r--r-- | libyul/backends/evm/EVMAssembly.h | 2 | ||||
-rw-r--r-- | libyul/backends/evm/EVMCodeTransform.cpp | 2 | ||||
-rw-r--r-- | libyul/backends/evm/EVMCodeTransform.h | 8 |
5 files changed, 9 insertions, 9 deletions
diff --git a/libyul/backends/evm/AbstractAssembly.h b/libyul/backends/evm/AbstractAssembly.h index b6818923..d75058f7 100644 --- a/libyul/backends/evm/AbstractAssembly.h +++ b/libyul/backends/evm/AbstractAssembly.h @@ -38,7 +38,7 @@ struct Instruction; struct Identifier; } } -namespace julia +namespace yul { /// @@ -106,7 +106,7 @@ struct ExternalIdentifierAccess /// Resolve an external reference given by the identifier in the given context. /// @returns the size of the value (number of stack slots) or size_t(-1) if not found. Resolver resolve; - using CodeGenerator = std::function<void(solidity::assembly::Identifier const&, IdentifierContext, julia::AbstractAssembly&)>; + using CodeGenerator = std::function<void(solidity::assembly::Identifier const&, IdentifierContext, yul::AbstractAssembly&)>; /// Generate code for retrieving the value (rvalue context) or storing the value (lvalue context) /// of an identifier. The code should be appended to the assembly. In rvalue context, the value is supposed /// to be put onto the stack, in lvalue context, the value is assumed to be at the top of the stack. diff --git a/libyul/backends/evm/EVMAssembly.cpp b/libyul/backends/evm/EVMAssembly.cpp index af0ddbb8..b2f0878f 100644 --- a/libyul/backends/evm/EVMAssembly.cpp +++ b/libyul/backends/evm/EVMAssembly.cpp @@ -26,7 +26,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; namespace { diff --git a/libyul/backends/evm/EVMAssembly.h b/libyul/backends/evm/EVMAssembly.h index 30abad97..556ed5a5 100644 --- a/libyul/backends/evm/EVMAssembly.h +++ b/libyul/backends/evm/EVMAssembly.h @@ -28,7 +28,7 @@ namespace dev { -namespace julia +namespace yul { class EVMAssembly: public AbstractAssembly diff --git a/libyul/backends/evm/EVMCodeTransform.cpp b/libyul/backends/evm/EVMCodeTransform.cpp index afc9e608..89086b4e 100644 --- a/libyul/backends/evm/EVMCodeTransform.cpp +++ b/libyul/backends/evm/EVMCodeTransform.cpp @@ -29,7 +29,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; using Scope = dev::solidity::assembly::Scope; diff --git a/libyul/backends/evm/EVMCodeTransform.h b/libyul/backends/evm/EVMCodeTransform.h index 6a0941b6..22ebbf43 100644 --- a/libyul/backends/evm/EVMCodeTransform.h +++ b/libyul/backends/evm/EVMCodeTransform.h @@ -37,7 +37,7 @@ namespace assembly struct AsmAnalysisInfo; } } -namespace julia +namespace yul { class EVMAssembly; @@ -47,7 +47,7 @@ public: /// Create the code transformer. /// @param _identifierAccess used to resolve identifiers external to the inline assembly CodeTransform( - julia::AbstractAssembly& _assembly, + yul::AbstractAssembly& _assembly, solidity::assembly::AsmAnalysisInfo& _analysisInfo, bool _yul = false, bool _evm15 = false, @@ -76,7 +76,7 @@ protected: }; CodeTransform( - julia::AbstractAssembly& _assembly, + yul::AbstractAssembly& _assembly, solidity::assembly::AsmAnalysisInfo& _analysisInfo, bool _yul, bool _evm15, @@ -139,7 +139,7 @@ private: void checkStackHeight(void const* _astElement) const; - julia::AbstractAssembly& m_assembly; + yul::AbstractAssembly& m_assembly; solidity::assembly::AsmAnalysisInfo& m_info; solidity::assembly::Scope* m_scope = nullptr; bool m_yul = false; |