aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerUtils.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-04-01 20:22:42 +0800
committerLiana Husikyan <liana@ethdev.com>2015-04-08 21:56:35 +0800
commitfb1cf35f3b624b01c56cca4cb1f919134a34082e (patch)
treeeb3ad7b041863afad90551b6de2e8aa78d56b29a /CompilerUtils.h
parentdf3ce3ad8f365ab7842823f4694490ad80a651c5 (diff)
downloaddexon-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.h2
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);