diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-07-04 20:14:41 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-07-11 00:39:38 +0800 |
commit | 9d895e002d0e5e1e3435d03ac82277caa397bbec (patch) | |
tree | 5931b89c3ae65d6bc2c5647d82ade808f5676abb /libsolidity/codegen/ContractCompiler.h | |
parent | 1f77deada1abc9ca1e635ab13d45707e852a5628 (diff) | |
download | dexon-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.h | 6 |
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. |