[INTERPRETER]

* BUG: Fix profiling of WAIT instruction.


git-svn-id: svn://localhost/gambas/trunk@5260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2012-10-29 00:46:53 +00:00
parent 3c07aa952a
commit 8edf201b34
2 changed files with 1 additions and 3 deletions

View file

@ -63,8 +63,8 @@ static void EVAL_enter()
static void error_EVAL_exec(void)
{
STACK_pop_frame(&EXEC_current);
PROFILE_LEAVE_FUNCTION();
STACK_pop_frame(&EXEC_current);
}
static void EVAL_exec()

View file

@ -73,8 +73,6 @@ void SUBR_wait(ushort code)
GB_Wait((int)(SUBR_get_float(PARAM) * 1000 + 0.5));
SUBR_LEAVE_VOID();
DEBUG_leave_event_loop();
}