Remove assert on maxStackCells > 0

One of these was left over.
Esse commit está contido em:
Jordan DeLong
2013-07-12 16:04:35 -07:00
commit de Sara Golemon
commit 29dbaf3ae9
+1 -5
Ver Arquivo
@@ -196,11 +196,7 @@ struct Func {
bool isNameBindingImmutable(const Unit* fromUnit) const;
void setMaxStackCells(int cells) { m_maxStackCells = cells; }
int maxStackCells() const {
// All functions have to return something, which pushes at least 1 cell
assert(m_maxStackCells > 0);
return m_maxStackCells;
}
int maxStackCells() const { return m_maxStackCells; }
bool byRef(int32_t arg) const;
bool mustBeRef(int32_t arg) const;