Browse Source

Fixed warning on windows.

cl-refactor
chriseth 10 years ago
parent
commit
c215772e7a
  1. 2
      libevmcore/CommonSubexpressionEliminator.cpp

2
libevmcore/CommonSubexpressionEliminator.cpp

@ -506,7 +506,7 @@ bool CSECodeGenerator::removeStackTopIfPossible()
{ {
if (m_stack.empty()) if (m_stack.empty())
return false; return false;
assertThrow(m_stack.count(m_stackHeight), OptimizerException, ""); assertThrow(m_stack.count(m_stackHeight) > 0, OptimizerException, "");
ExpressionClasses::Id top = m_stack[m_stackHeight]; ExpressionClasses::Id top = m_stack[m_stackHeight];
if (!canBeRemoved(top)) if (!canBeRemoved(top))
return false; return false;

Loading…
Cancel
Save