aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/optimiser/FullInliner.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-08 23:55:03 +0800
committerchriseth <chris@ethereum.org>2018-05-02 23:39:42 +0800
commitd3c11a49e56b04e810ebc2f6c05a6fa9a929bb2d (patch)
treee40c84eecacc9bc9642de6572f072da9d1cb8025 /libjulia/optimiser/FullInliner.h
parent78945e81e46ab12c864bdb8a2d8a03a80fbfdbdd (diff)
downloaddexon-solidity-d3c11a49e56b04e810ebc2f6c05a6fa9a929bb2d.tar
dexon-solidity-d3c11a49e56b04e810ebc2f6c05a6fa9a929bb2d.tar.gz
dexon-solidity-d3c11a49e56b04e810ebc2f6c05a6fa9a929bb2d.tar.bz2
dexon-solidity-d3c11a49e56b04e810ebc2f6c05a6fa9a929bb2d.tar.lz
dexon-solidity-d3c11a49e56b04e810ebc2f6c05a6fa9a929bb2d.tar.xz
dexon-solidity-d3c11a49e56b04e810ebc2f6c05a6fa9a929bb2d.tar.zst
dexon-solidity-d3c11a49e56b04e810ebc2f6c05a6fa9a929bb2d.zip
Move NameDispenser into its own file.
Diffstat (limited to 'libjulia/optimiser/FullInliner.h')
-rw-r--r--libjulia/optimiser/FullInliner.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/libjulia/optimiser/FullInliner.h b/libjulia/optimiser/FullInliner.h
index d3dec3b2..d3628e1a 100644
--- a/libjulia/optimiser/FullInliner.h
+++ b/libjulia/optimiser/FullInliner.h
@@ -23,6 +23,7 @@
#include <libjulia/optimiser/ASTCopier.h>
#include <libjulia/optimiser/ASTWalker.h>
+#include <libjulia/optimiser/NameDispenser.h>
#include <libsolidity/interface/Exceptions.h>
@@ -38,13 +39,6 @@ namespace julia
class NameCollector;
-struct NameDispenser
-{
- std::string newName(std::string const& _prefix);
- std::set<std::string> m_usedNames;
-};
-
-
/**
* Optimiser component that modifies an AST in place, inlining arbitrary functions.