366 |
|
|
367 |
ctx->status = VM_EXEC_RUNNING; |
ctx->status = VM_EXEC_RUNNING; |
368 |
ctx->instructionsCount = 0; |
ctx->instructionsCount = 0; |
369 |
StmtFlags_t flags = STMT_SUCCESS; |
StmtFlags_t& flags = ctx->flags; |
370 |
int instructionsCounter = 0; |
int instructionsCounter = 0; |
371 |
int synced = m_autoSuspend ? 0 : 1; |
int synced = m_autoSuspend ? 0 : 1; |
372 |
|
|
484 |
++instructionsCounter; |
++instructionsCounter; |
485 |
} |
} |
486 |
|
|
487 |
if (flags & STMT_SUSPEND_SIGNALLED) { |
if ((flags & STMT_SUSPEND_SIGNALLED) && !(flags & STMT_ABORT_SIGNALLED)) { |
488 |
ctx->status = VM_EXEC_SUSPENDED; |
ctx->status = VM_EXEC_SUSPENDED; |
489 |
|
ctx->flags = STMT_SUCCESS; |
490 |
} else { |
} else { |
491 |
ctx->status = VM_EXEC_NOT_RUNNING; |
ctx->status = VM_EXEC_NOT_RUNNING; |
492 |
if (flags & STMT_ERROR_OCCURRED) |
if (flags & STMT_ERROR_OCCURRED) |