mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed assertion
This commit is contained in:
parent
d639c225f2
commit
3d0807a9fa
@ -42,7 +42,7 @@ class StackHeightChecker
|
|||||||
public:
|
public:
|
||||||
StackHeightChecker(CompilerContext const& _context):
|
StackHeightChecker(CompilerContext const& _context):
|
||||||
m_context(_context), stackHeight(m_context.getStackHeight()) {}
|
m_context(_context), stackHeight(m_context.getStackHeight()) {}
|
||||||
void check() {/* solAssert(m_context.getStackHeight() == stackHeight, "I sense a disturbance in the stack."); */}
|
void check() { solAssert(m_context.getStackHeight() == stackHeight, "I sense a disturbance in the stack."); }
|
||||||
private:
|
private:
|
||||||
CompilerContext const& m_context;
|
CompilerContext const& m_context;
|
||||||
unsigned stackHeight;
|
unsigned stackHeight;
|
||||||
|
Loading…
Reference in New Issue
Block a user