aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-12-06 03:06:34 +0800
committerchriseth <chris@ethereum.org>2017-12-06 03:12:46 +0800
commitd34054ef582be09992e79a72125800484b25159f (patch)
tree5085e9e00a49555ab57b4203e07476d6dcb95ba6 /libjulia
parent6769a9a503fd35ae147650634d82d1321e6b8826 (diff)
downloaddexon-solidity-d34054ef582be09992e79a72125800484b25159f.tar.gz
dexon-solidity-d34054ef582be09992e79a72125800484b25159f.tar.zst
dexon-solidity-d34054ef582be09992e79a72125800484b25159f.zip
copier
Diffstat (limited to 'libjulia')
-rw-r--r--libjulia/optimiser/ASTCopier.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libjulia/optimiser/ASTCopier.h b/libjulia/optimiser/ASTCopier.h
index 0658fd50..5dde2ce9 100644
--- a/libjulia/optimiser/ASTCopier.h
+++ b/libjulia/optimiser/ASTCopier.h
@@ -56,6 +56,8 @@ public:
Statement operator()(ForLoop const&);
Statement operator()(Block const& _block);
+ virtual Statement translate(Statement const& _statement);
+
protected:
template <typename T>
std::vector<T> translateVector(std::vector<T> const& _values);
@@ -65,7 +67,6 @@ protected:
{
return _v ? std::make_shared<T>(translate(*_v)) : nullptr;
}
- Statement translate(Statement const& _statement);
Block translate(Block const& _block);
Case translate(Case const& _case);
Identifier translate(Identifier const& _identifier);