aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/Suite.h
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-11-21 19:42:34 +0800
committerChristian Parpart <christian@ethereum.org>2018-11-23 21:29:00 +0800
commitec47c8946ba5f78563b7eca2512b3cee68db45b4 (patch)
tree58216cdbf00dba9a61135d85b289ce2af9fc2974 /libyul/optimiser/Suite.h
parent3734f40d315439f8a791967a6adfda8cf9fd1e55 (diff)
downloaddexon-solidity-ec47c8946ba5f78563b7eca2512b3cee68db45b4.tar.gz
dexon-solidity-ec47c8946ba5f78563b7eca2512b3cee68db45b4.tar.zst
dexon-solidity-ec47c8946ba5f78563b7eca2512b3cee68db45b4.zip
Isolating libyul library API into its own namespace `yul`.
Diffstat (limited to 'libyul/optimiser/Suite.h')
-rw-r--r--libyul/optimiser/Suite.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/libyul/optimiser/Suite.h b/libyul/optimiser/Suite.h
index 5b564c56..3f23ee9f 100644
--- a/libyul/optimiser/Suite.h
+++ b/libyul/optimiser/Suite.h
@@ -25,18 +25,11 @@
#include <set>
-namespace dev
-{
-namespace solidity
-{
-namespace assembly
-{
-struct AsmAnalysisInfo;
-}
-}
namespace yul
{
+struct AsmAnalysisInfo;
+
/**
* Optimiser suite that combines all steps and also provides the settings for the heuristics
*/
@@ -45,11 +38,10 @@ class OptimiserSuite
public:
static void run(
Block& _ast,
- solidity::assembly::AsmAnalysisInfo const& _analysisInfo,
+ AsmAnalysisInfo const& _analysisInfo,
std::set<YulString> const& _externallyUsedIdentifiers = {}
);
};
}
-}