Iterate in interpreted mode until a jump is found

This commit is contained in:
Fabian 2018-02-02 13:10:56 -05:00
parent 37ef4bd7f4
commit ab0bcf8535

View file

@ -539,6 +539,15 @@ static void jit_run_interpreted(int32_t phys_addr)
(*timestamp_counter)++;
run_instruction(opcode | !!*is_32 << 8);
while(!jit_jump)
{
previous_ip[0] = instruction_pointer[0];
(*timestamp_counter)++;
int32_t opcode = read_imm8();
run_instruction(opcode | !!*is_32 << 8);
}
profiler_end(P_RUN_INTERPRETED);
}