From 1304361b9c48438d5c55903492b5f11c3dac73e5 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Mon, 15 Oct 2018 11:58:51 +0200 Subject: Renaming namespace dev::julia to dev::yul. --- libyul/ASTDataForward.h | 2 +- libyul/Exceptions.h | 2 +- libyul/backends/evm/AbstractAssembly.h | 4 ++-- libyul/backends/evm/EVMAssembly.cpp | 2 +- libyul/backends/evm/EVMAssembly.h | 2 +- libyul/backends/evm/EVMCodeTransform.cpp | 2 +- libyul/backends/evm/EVMCodeTransform.h | 8 ++++---- libyul/optimiser/ASTCopier.cpp | 2 +- libyul/optimiser/ASTCopier.h | 2 +- libyul/optimiser/ASTWalker.cpp | 2 +- libyul/optimiser/ASTWalker.h | 2 +- libyul/optimiser/CommonSubexpressionEliminator.cpp | 2 +- libyul/optimiser/CommonSubexpressionEliminator.h | 2 +- libyul/optimiser/DataFlowAnalyzer.cpp | 2 +- libyul/optimiser/DataFlowAnalyzer.h | 2 +- libyul/optimiser/Disambiguator.cpp | 2 +- libyul/optimiser/Disambiguator.h | 2 +- libyul/optimiser/ExpressionInliner.cpp | 2 +- libyul/optimiser/ExpressionInliner.h | 2 +- libyul/optimiser/ExpressionJoiner.cpp | 2 +- libyul/optimiser/ExpressionJoiner.h | 2 +- libyul/optimiser/ExpressionSimplifier.cpp | 2 +- libyul/optimiser/ExpressionSimplifier.h | 2 +- libyul/optimiser/ExpressionSplitter.cpp | 2 +- libyul/optimiser/ExpressionSplitter.h | 2 +- libyul/optimiser/FullInliner.cpp | 2 +- libyul/optimiser/FullInliner.h | 2 +- libyul/optimiser/FunctionGrouper.cpp | 2 +- libyul/optimiser/FunctionGrouper.h | 2 +- libyul/optimiser/FunctionHoister.cpp | 2 +- libyul/optimiser/FunctionHoister.h | 2 +- libyul/optimiser/InlinableExpressionFunctionFinder.cpp | 2 +- libyul/optimiser/InlinableExpressionFunctionFinder.h | 2 +- libyul/optimiser/MainFunction.cpp | 2 +- libyul/optimiser/MainFunction.h | 2 +- libyul/optimiser/Metrics.cpp | 2 +- libyul/optimiser/Metrics.h | 2 +- libyul/optimiser/NameCollector.cpp | 2 +- libyul/optimiser/NameCollector.h | 2 +- libyul/optimiser/NameDispenser.cpp | 2 +- libyul/optimiser/NameDispenser.h | 2 +- libyul/optimiser/Rematerialiser.cpp | 2 +- libyul/optimiser/Rematerialiser.h | 2 +- libyul/optimiser/Semantics.cpp | 2 +- libyul/optimiser/Semantics.h | 2 +- libyul/optimiser/SimplificationRules.cpp | 2 +- libyul/optimiser/SimplificationRules.h | 2 +- libyul/optimiser/Substitution.cpp | 2 +- libyul/optimiser/Substitution.h | 2 +- libyul/optimiser/SyntacticalEquality.cpp | 2 +- libyul/optimiser/SyntacticalEquality.h | 2 +- libyul/optimiser/UnusedPruner.cpp | 2 +- libyul/optimiser/UnusedPruner.h | 2 +- libyul/optimiser/Utilities.cpp | 4 ++-- libyul/optimiser/Utilities.h | 2 +- 55 files changed, 60 insertions(+), 60 deletions(-) (limited to 'libyul') diff --git a/libyul/ASTDataForward.h b/libyul/ASTDataForward.h index 143b9c46..7f131b5e 100644 --- a/libyul/ASTDataForward.h +++ b/libyul/ASTDataForward.h @@ -25,7 +25,7 @@ namespace dev { -namespace julia +namespace yul { using Instruction = solidity::assembly::Instruction; diff --git a/libyul/Exceptions.h b/libyul/Exceptions.h index 48624a56..c423b66f 100644 --- a/libyul/Exceptions.h +++ b/libyul/Exceptions.h @@ -25,7 +25,7 @@ namespace dev { -namespace julia +namespace yul { struct YulException: virtual Exception {}; 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; + using CodeGenerator = std::function; /// 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; diff --git a/libyul/optimiser/ASTCopier.cpp b/libyul/optimiser/ASTCopier.cpp index c3fe7778..4b7f21f8 100644 --- a/libyul/optimiser/ASTCopier.cpp +++ b/libyul/optimiser/ASTCopier.cpp @@ -28,7 +28,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; Statement ASTCopier::operator()(Instruction const&) { diff --git a/libyul/optimiser/ASTCopier.h b/libyul/optimiser/ASTCopier.h index ce9226a6..13369cef 100644 --- a/libyul/optimiser/ASTCopier.h +++ b/libyul/optimiser/ASTCopier.h @@ -31,7 +31,7 @@ namespace dev { -namespace julia +namespace yul { class ExpressionCopier: public boost::static_visitor diff --git a/libyul/optimiser/ASTWalker.cpp b/libyul/optimiser/ASTWalker.cpp index 042d1f11..e29dda6b 100644 --- a/libyul/optimiser/ASTWalker.cpp +++ b/libyul/optimiser/ASTWalker.cpp @@ -26,7 +26,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; diff --git a/libyul/optimiser/ASTWalker.h b/libyul/optimiser/ASTWalker.h index b34559a3..41617d55 100644 --- a/libyul/optimiser/ASTWalker.h +++ b/libyul/optimiser/ASTWalker.h @@ -33,7 +33,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/CommonSubexpressionEliminator.cpp b/libyul/optimiser/CommonSubexpressionEliminator.cpp index 8bb4ca2e..23d15cad 100644 --- a/libyul/optimiser/CommonSubexpressionEliminator.cpp +++ b/libyul/optimiser/CommonSubexpressionEliminator.cpp @@ -29,7 +29,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; void CommonSubexpressionEliminator::visit(Expression& _e) { diff --git a/libyul/optimiser/CommonSubexpressionEliminator.h b/libyul/optimiser/CommonSubexpressionEliminator.h index 37cd80ff..f8aa0ee1 100644 --- a/libyul/optimiser/CommonSubexpressionEliminator.h +++ b/libyul/optimiser/CommonSubexpressionEliminator.h @@ -25,7 +25,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/DataFlowAnalyzer.cpp b/libyul/optimiser/DataFlowAnalyzer.cpp index 3300a2bd..ca1e5153 100644 --- a/libyul/optimiser/DataFlowAnalyzer.cpp +++ b/libyul/optimiser/DataFlowAnalyzer.cpp @@ -34,7 +34,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; void DataFlowAnalyzer::operator()(Assignment& _assignment) { diff --git a/libyul/optimiser/DataFlowAnalyzer.h b/libyul/optimiser/DataFlowAnalyzer.h index 054f6bd4..f998eadf 100644 --- a/libyul/optimiser/DataFlowAnalyzer.h +++ b/libyul/optimiser/DataFlowAnalyzer.h @@ -30,7 +30,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/Disambiguator.cpp b/libyul/optimiser/Disambiguator.cpp index 87da0391..af3507e1 100644 --- a/libyul/optimiser/Disambiguator.cpp +++ b/libyul/optimiser/Disambiguator.cpp @@ -27,7 +27,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/optimiser/Disambiguator.h b/libyul/optimiser/Disambiguator.h index f6b8fd46..0829fd58 100644 --- a/libyul/optimiser/Disambiguator.h +++ b/libyul/optimiser/Disambiguator.h @@ -34,7 +34,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/ExpressionInliner.cpp b/libyul/optimiser/ExpressionInliner.cpp index d4f7c4a4..9bf0a3fb 100644 --- a/libyul/optimiser/ExpressionInliner.cpp +++ b/libyul/optimiser/ExpressionInliner.cpp @@ -30,7 +30,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; void ExpressionInliner::run() diff --git a/libyul/optimiser/ExpressionInliner.h b/libyul/optimiser/ExpressionInliner.h index 99fa68c9..971a2ee0 100644 --- a/libyul/optimiser/ExpressionInliner.h +++ b/libyul/optimiser/ExpressionInliner.h @@ -30,7 +30,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/ExpressionJoiner.cpp b/libyul/optimiser/ExpressionJoiner.cpp index ebf01346..3dfab371 100644 --- a/libyul/optimiser/ExpressionJoiner.cpp +++ b/libyul/optimiser/ExpressionJoiner.cpp @@ -33,7 +33,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; void ExpressionJoiner::operator()(FunctionalInstruction& _instruction) diff --git a/libyul/optimiser/ExpressionJoiner.h b/libyul/optimiser/ExpressionJoiner.h index a7ae50bc..df18e58f 100644 --- a/libyul/optimiser/ExpressionJoiner.h +++ b/libyul/optimiser/ExpressionJoiner.h @@ -28,7 +28,7 @@ namespace dev { -namespace julia +namespace yul { class NameCollector; diff --git a/libyul/optimiser/ExpressionSimplifier.cpp b/libyul/optimiser/ExpressionSimplifier.cpp index 5d89cef0..c95fb3d5 100644 --- a/libyul/optimiser/ExpressionSimplifier.cpp +++ b/libyul/optimiser/ExpressionSimplifier.cpp @@ -29,7 +29,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; diff --git a/libyul/optimiser/ExpressionSimplifier.h b/libyul/optimiser/ExpressionSimplifier.h index d11cd5d6..1b9d6960 100644 --- a/libyul/optimiser/ExpressionSimplifier.h +++ b/libyul/optimiser/ExpressionSimplifier.h @@ -26,7 +26,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/ExpressionSplitter.cpp b/libyul/optimiser/ExpressionSplitter.cpp index e4e2739e..dab0545f 100644 --- a/libyul/optimiser/ExpressionSplitter.cpp +++ b/libyul/optimiser/ExpressionSplitter.cpp @@ -31,7 +31,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; void ExpressionSplitter::operator()(FunctionalInstruction& _instruction) diff --git a/libyul/optimiser/ExpressionSplitter.h b/libyul/optimiser/ExpressionSplitter.h index 89757df3..339acbf0 100644 --- a/libyul/optimiser/ExpressionSplitter.h +++ b/libyul/optimiser/ExpressionSplitter.h @@ -29,7 +29,7 @@ namespace dev { -namespace julia +namespace yul { class NameCollector; diff --git a/libyul/optimiser/FullInliner.cpp b/libyul/optimiser/FullInliner.cpp index 7af642be..4e419987 100644 --- a/libyul/optimiser/FullInliner.cpp +++ b/libyul/optimiser/FullInliner.cpp @@ -34,7 +34,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; FullInliner::FullInliner(Block& _ast): diff --git a/libyul/optimiser/FullInliner.h b/libyul/optimiser/FullInliner.h index ecf987f7..8112fb4b 100644 --- a/libyul/optimiser/FullInliner.h +++ b/libyul/optimiser/FullInliner.h @@ -35,7 +35,7 @@ namespace dev { -namespace julia +namespace yul { class NameCollector; diff --git a/libyul/optimiser/FunctionGrouper.cpp b/libyul/optimiser/FunctionGrouper.cpp index cbdd215f..3d2e5322 100644 --- a/libyul/optimiser/FunctionGrouper.cpp +++ b/libyul/optimiser/FunctionGrouper.cpp @@ -27,7 +27,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; diff --git a/libyul/optimiser/FunctionGrouper.h b/libyul/optimiser/FunctionGrouper.h index 57279c16..63cfbfb1 100644 --- a/libyul/optimiser/FunctionGrouper.h +++ b/libyul/optimiser/FunctionGrouper.h @@ -25,7 +25,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/FunctionHoister.cpp b/libyul/optimiser/FunctionHoister.cpp index 99525494..c196dead 100644 --- a/libyul/optimiser/FunctionHoister.cpp +++ b/libyul/optimiser/FunctionHoister.cpp @@ -29,7 +29,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; void FunctionHoister::operator()(Block& _block) diff --git a/libyul/optimiser/FunctionHoister.h b/libyul/optimiser/FunctionHoister.h index 80d55703..823b9e2b 100644 --- a/libyul/optimiser/FunctionHoister.h +++ b/libyul/optimiser/FunctionHoister.h @@ -27,7 +27,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/InlinableExpressionFunctionFinder.cpp b/libyul/optimiser/InlinableExpressionFunctionFinder.cpp index e6332f3a..69dd2095 100644 --- a/libyul/optimiser/InlinableExpressionFunctionFinder.cpp +++ b/libyul/optimiser/InlinableExpressionFunctionFinder.cpp @@ -26,7 +26,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; void InlinableExpressionFunctionFinder::operator()(Identifier const& _identifier) { diff --git a/libyul/optimiser/InlinableExpressionFunctionFinder.h b/libyul/optimiser/InlinableExpressionFunctionFinder.h index 69c003e6..3887e6e5 100644 --- a/libyul/optimiser/InlinableExpressionFunctionFinder.h +++ b/libyul/optimiser/InlinableExpressionFunctionFinder.h @@ -27,7 +27,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/MainFunction.cpp b/libyul/optimiser/MainFunction.cpp index dfc19574..c8f35207 100644 --- a/libyul/optimiser/MainFunction.cpp +++ b/libyul/optimiser/MainFunction.cpp @@ -30,7 +30,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; using namespace dev::solidity; void MainFunction::operator()(Block& _block) diff --git a/libyul/optimiser/MainFunction.h b/libyul/optimiser/MainFunction.h index 4d790729..4a73283a 100644 --- a/libyul/optimiser/MainFunction.h +++ b/libyul/optimiser/MainFunction.h @@ -25,7 +25,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/Metrics.cpp b/libyul/optimiser/Metrics.cpp index ce7c1bed..eb2d39e8 100644 --- a/libyul/optimiser/Metrics.cpp +++ b/libyul/optimiser/Metrics.cpp @@ -23,7 +23,7 @@ #include using namespace dev; -using namespace dev::julia; +using namespace dev::yul; size_t CodeSize::codeSize(Statement const& _statement) { diff --git a/libyul/optimiser/Metrics.h b/libyul/optimiser/Metrics.h index f0d6a203..8ed73cca 100644 --- a/libyul/optimiser/Metrics.h +++ b/libyul/optimiser/Metrics.h @@ -24,7 +24,7 @@ namespace dev { -namespace julia +namespace yul { class CodeSize: public ASTWalker diff --git a/libyul/optimiser/NameCollector.cpp b/libyul/optimiser/NameCollector.cpp index cbc7aad2..b71fa982 100644 --- a/libyul/optimiser/NameCollector.cpp +++ b/libyul/optimiser/NameCollector.cpp @@ -24,7 +24,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; void NameCollector::operator()(VariableDeclaration const& _varDecl) { diff --git a/libyul/optimiser/NameCollector.h b/libyul/optimiser/NameCollector.h index 9ea32674..b8f6c1d7 100644 --- a/libyul/optimiser/NameCollector.h +++ b/libyul/optimiser/NameCollector.h @@ -28,7 +28,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/NameDispenser.cpp b/libyul/optimiser/NameDispenser.cpp index 4b177389..f7385471 100644 --- a/libyul/optimiser/NameDispenser.cpp +++ b/libyul/optimiser/NameDispenser.cpp @@ -22,7 +22,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; string NameDispenser::newName(string const& _prefix) { diff --git a/libyul/optimiser/NameDispenser.h b/libyul/optimiser/NameDispenser.h index 91c43d54..64ec318f 100644 --- a/libyul/optimiser/NameDispenser.h +++ b/libyul/optimiser/NameDispenser.h @@ -24,7 +24,7 @@ namespace dev { -namespace julia +namespace yul { struct NameDispenser diff --git a/libyul/optimiser/Rematerialiser.cpp b/libyul/optimiser/Rematerialiser.cpp index 5f2b9e8b..dd6653ea 100644 --- a/libyul/optimiser/Rematerialiser.cpp +++ b/libyul/optimiser/Rematerialiser.cpp @@ -28,7 +28,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; void Rematerialiser::visit(Expression& _e) { diff --git a/libyul/optimiser/Rematerialiser.h b/libyul/optimiser/Rematerialiser.h index d06c2754..afcfab3e 100644 --- a/libyul/optimiser/Rematerialiser.h +++ b/libyul/optimiser/Rematerialiser.h @@ -28,7 +28,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/Semantics.cpp b/libyul/optimiser/Semantics.cpp index d610341d..33f3af77 100644 --- a/libyul/optimiser/Semantics.cpp +++ b/libyul/optimiser/Semantics.cpp @@ -30,7 +30,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; MovableChecker::MovableChecker(Expression const& _expression) { diff --git a/libyul/optimiser/Semantics.h b/libyul/optimiser/Semantics.h index 1963e7a3..1caa12fb 100644 --- a/libyul/optimiser/Semantics.h +++ b/libyul/optimiser/Semantics.h @@ -28,7 +28,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/SimplificationRules.cpp b/libyul/optimiser/SimplificationRules.cpp index ca3f2984..762473e5 100644 --- a/libyul/optimiser/SimplificationRules.cpp +++ b/libyul/optimiser/SimplificationRules.cpp @@ -31,7 +31,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; SimplificationRule const* SimplificationRules::findFirstMatch(Expression const& _expr) diff --git a/libyul/optimiser/SimplificationRules.h b/libyul/optimiser/SimplificationRules.h index 2b5bccd5..25d91573 100644 --- a/libyul/optimiser/SimplificationRules.h +++ b/libyul/optimiser/SimplificationRules.h @@ -34,7 +34,7 @@ namespace dev { -namespace julia +namespace yul { class Pattern; diff --git a/libyul/optimiser/Substitution.cpp b/libyul/optimiser/Substitution.cpp index eafe1da9..4a000a85 100644 --- a/libyul/optimiser/Substitution.cpp +++ b/libyul/optimiser/Substitution.cpp @@ -24,7 +24,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; Expression Substitution::translate(Expression const& _expression) { diff --git a/libyul/optimiser/Substitution.h b/libyul/optimiser/Substitution.h index c7e604ca..b734cdca 100644 --- a/libyul/optimiser/Substitution.h +++ b/libyul/optimiser/Substitution.h @@ -28,7 +28,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/SyntacticalEquality.cpp b/libyul/optimiser/SyntacticalEquality.cpp index a235e509..f22b5c31 100644 --- a/libyul/optimiser/SyntacticalEquality.cpp +++ b/libyul/optimiser/SyntacticalEquality.cpp @@ -28,7 +28,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; bool SyntacticalEqualityChecker::equal(Expression const& _e1, Expression const& _e2) { diff --git a/libyul/optimiser/SyntacticalEquality.h b/libyul/optimiser/SyntacticalEquality.h index 58d4f365..e9fbebe0 100644 --- a/libyul/optimiser/SyntacticalEquality.h +++ b/libyul/optimiser/SyntacticalEquality.h @@ -26,7 +26,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/UnusedPruner.cpp b/libyul/optimiser/UnusedPruner.cpp index 10b1c171..74b6bee4 100644 --- a/libyul/optimiser/UnusedPruner.cpp +++ b/libyul/optimiser/UnusedPruner.cpp @@ -31,7 +31,7 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; UnusedPruner::UnusedPruner(Block& _ast) { diff --git a/libyul/optimiser/UnusedPruner.h b/libyul/optimiser/UnusedPruner.h index 305c62a7..327921ea 100644 --- a/libyul/optimiser/UnusedPruner.h +++ b/libyul/optimiser/UnusedPruner.h @@ -28,7 +28,7 @@ namespace dev { -namespace julia +namespace yul { /** diff --git a/libyul/optimiser/Utilities.cpp b/libyul/optimiser/Utilities.cpp index 7591ed5b..df01ed39 100644 --- a/libyul/optimiser/Utilities.cpp +++ b/libyul/optimiser/Utilities.cpp @@ -28,9 +28,9 @@ using namespace std; using namespace dev; -using namespace dev::julia; +using namespace dev::yul; -void dev::julia::removeEmptyBlocks(Block& _block) +void dev::yul::removeEmptyBlocks(Block& _block) { auto isEmptyBlock = [](Statement const& _st) -> bool { return _st.type() == typeid(Block) && boost::get(_st).statements.empty(); diff --git a/libyul/optimiser/Utilities.h b/libyul/optimiser/Utilities.h index ae77d2e0..5b18a27c 100644 --- a/libyul/optimiser/Utilities.h +++ b/libyul/optimiser/Utilities.h @@ -24,7 +24,7 @@ namespace dev { -namespace julia +namespace yul { /// Removes statements that are just empty blocks (non-recursive). -- cgit