aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ContractCompiler.h
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-07-04 20:14:41 +0800
committerLeonardo Alt <leo@ethereum.org>2018-07-11 00:39:38 +0800
commit9d895e002d0e5e1e3435d03ac82277caa397bbec (patch)
tree5931b89c3ae65d6bc2c5647d82ade808f5676abb /libsolidity/codegen/ContractCompiler.h
parent1f77deada1abc9ca1e635ab13d45707e852a5628 (diff)
downloaddexon-solidity-9d895e002d0e5e1e3435d03ac82277caa397bbec.tar.gz
dexon-solidity-9d895e002d0e5e1e3435d03ac82277caa397bbec.tar.zst
dexon-solidity-9d895e002d0e5e1e3435d03ac82277caa397bbec.zip
Added tests and review suggestions
Diffstat (limited to 'libsolidity/codegen/ContractCompiler.h')
-rw-r--r--libsolidity/codegen/ContractCompiler.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libsolidity/codegen/ContractCompiler.h b/libsolidity/codegen/ContractCompiler.h
index 72f46495..8516ec2c 100644
--- a/libsolidity/codegen/ContractCompiler.h
+++ b/libsolidity/codegen/ContractCompiler.h
@@ -128,12 +128,8 @@ private:
/// Frees the variables of a certain scope (to be used when leaving).
void popScopedVariables(ASTNode const* _node);
- /// Pops _amount slots from the stack and jumps to _jumpTo.
- /// Also readjusts the stack offset to the original value.
- void popAndJump(unsigned _amount, eth::AssemblyItem const& _jumpTo);
-
/// Sets the stack height for the visited loop.
- void visitLoop(BreakableStatement const* _loop);
+ void storeStackHeight(ASTNode const* _node);
bool const m_optimise;
/// Pointer to the runtime compiler in case this is a creation compiler.