Add FORCE_DISABLE_JIT configure flag
This commit is contained in:
parent
ea50e29e5f
commit
b7f9662655
|
@ -1 +1,2 @@
|
|||
pub const LOG_PAGE_FAULTS: bool = false;
|
||||
pub const FORCE_DISABLE_JIT: bool = false;
|
||||
|
|
|
@ -1876,7 +1876,7 @@ pub unsafe fn run_instruction0f_32(opcode: i32) { ::gen::interpreter0f_32::run(o
|
|||
#[no_mangle]
|
||||
pub unsafe fn cycle_internal() {
|
||||
profiler::stat_increment(CYCLE_INTERNAL);
|
||||
if true {
|
||||
if !::config::FORCE_DISABLE_JIT {
|
||||
*previous_ip = *instruction_pointer;
|
||||
let phys_addr: u32 = return_on_pagefault!(get_phys_eip()) as u32;
|
||||
let state_flags = pack_current_state_flags();
|
||||
|
|
Loading…
Reference in a new issue