diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-04-01 20:22:42 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-04-08 21:56:35 +0800 |
commit | fb1cf35f3b624b01c56cca4cb1f919134a34082e (patch) | |
tree | eb3ad7b041863afad90551b6de2e8aa78d56b29a /CompilerUtils.h | |
parent | df3ce3ad8f365ab7842823f4694490ad80a651c5 (diff) | |
download | dexon-solidity-fb1cf35f3b624b01c56cca4cb1f919134a34082e.tar.gz dexon-solidity-fb1cf35f3b624b01c56cca4cb1f919134a34082e.tar.zst dexon-solidity-fb1cf35f3b624b01c56cca4cb1f919134a34082e.zip |
added implementation to append code for State variable accessor
fixed tests
Diffstat (limited to 'CompilerUtils.h')
-rw-r--r-- | CompilerUtils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CompilerUtils.h b/CompilerUtils.h index 043de41d..5b809bea 100644 --- a/CompilerUtils.h +++ b/CompilerUtils.h @@ -79,6 +79,8 @@ public: void copyToStackTop(unsigned _stackDepth, unsigned _itemSize); /// Removes the current value from the top of the stack. void popStackElement(Type const& _type); + /// Removes element from the top of the stack _amount times. + void popStackSlots(size_t _amount); template <class T> static unsigned getSizeOnStack(std::vector<T> const& _variables); |