diff options
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); |