aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/backends/evm/EVMCodeTransform.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-14 21:35:51 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-06-16 18:29:40 +0800
commitce5ef08e05667d74283f18f79c3bb5970f39e946 (patch)
treef32fc9c0dbc6c24e32e3e18a662191b1beae0f29 /libjulia/backends/evm/EVMCodeTransform.h
parentea0a86a9954c63c47234b55f53a7ca9df26e1efe (diff)
downloaddexon-solidity-ce5ef08e05667d74283f18f79c3bb5970f39e946.tar.gz
dexon-solidity-ce5ef08e05667d74283f18f79c3bb5970f39e946.tar.zst
dexon-solidity-ce5ef08e05667d74283f18f79c3bb5970f39e946.zip
Helper for visiting statements.
Diffstat (limited to 'libjulia/backends/evm/EVMCodeTransform.h')
-rw-r--r--libjulia/backends/evm/EVMCodeTransform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjulia/backends/evm/EVMCodeTransform.h b/libjulia/backends/evm/EVMCodeTransform.h
index 57bd4ca5..d09ee87b 100644
--- a/libjulia/backends/evm/EVMCodeTransform.h
+++ b/libjulia/backends/evm/EVMCodeTransform.h
@@ -110,6 +110,8 @@ private:
/// Generates code for an expression that is supposed to return a single value.
void visitExpression(solidity::assembly::Statement const& _expression);
+ void visitStatements(std::vector<solidity::assembly::Statement> const& _statements);
+
/// Pops all variables declared in the block and checks that the stack height is equal
/// to @a _blackStartStackHeight.
void finalizeBlock(solidity::assembly::Block const& _block, int _blockStartStackHeight);