Browse Source

fixed assertion

cl-refactor
Liana Husikyan 10 years ago
parent
commit
4f925169c1
  1. 2
      libsolidity/Compiler.cpp

2
libsolidity/Compiler.cpp

@ -42,7 +42,7 @@ class StackHeightChecker
public:
StackHeightChecker(CompilerContext const& _context):
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:
CompilerContext const& m_context;
unsigned stackHeight;

Loading…
Cancel
Save