diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-15 03:26:26 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-15 04:21:26 +0800 |
commit | 6a260a9ff1c0c9c8ee14e988bd066b74555651e7 (patch) | |
tree | f476771bb94ffd2d698348fa460ea3b008e385f1 /libevmasm | |
parent | 18fc66765808c717c0ed5f3f2b3da979618c329d (diff) | |
download | dexon-solidity-6a260a9ff1c0c9c8ee14e988bd066b74555651e7.tar.gz dexon-solidity-6a260a9ff1c0c9c8ee14e988bd066b74555651e7.tar.zst dexon-solidity-6a260a9ff1c0c9c8ee14e988bd066b74555651e7.zip |
Remove single use Assembly::popTo
Diffstat (limited to 'libevmasm')
-rw-r--r-- | libevmasm/Assembly.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libevmasm/Assembly.h b/libevmasm/Assembly.h index 6549cc45..36fdda36 100644 --- a/libevmasm/Assembly.h +++ b/libevmasm/Assembly.h @@ -84,8 +84,6 @@ public: void ignored() { m_baseDeposit = m_deposit; } void endIgnored() { m_deposit = m_baseDeposit; m_baseDeposit = 0; } - void popTo(int _deposit) { while (m_deposit > _deposit) append(solidity::Instruction::POP); } - void injectStart(AssemblyItem const& _i); int deposit() const { return m_deposit; } void adjustDeposit(int _adjustment) { m_deposit += _adjustment; if (asserts(m_deposit >= 0)) BOOST_THROW_EXCEPTION(InvalidDeposit()); } |