Browse Source

Safe assert

cl-refactor
Paweł Bylica 10 years ago
parent
commit
833643ed77
  1. 4
      evmjit/libevmjit/ExecStats.cpp

4
evmjit/libevmjit/ExecStats.cpp

@ -13,7 +13,9 @@ namespace jit
void ExecStats::stateChanged(ExecState _state) void ExecStats::stateChanged(ExecState _state)
{ {
assert(m_state != ExecState::Finished); if (!CHECK(m_state != ExecState::Finished))
return;
auto now = clock::now(); auto now = clock::now();
if (_state != ExecState::Started) if (_state != ExecState::Started)
{ {

Loading…
Cancel
Save