Skip to content

Commit

Permalink
Remove function from non-profiled builds
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed May 23, 2021
1 parent 2078d43 commit ffe80ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rust/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2176,6 +2176,7 @@ pub fn check_dispatcher_target(target_index: i32, max: i32) {
}

#[no_mangle]
#[cfg(feature = "profiler")]
pub fn enter_basic_block(phys_eip: u32) {
let eip =
unsafe { cpu::translate_address_read(*global_pointers::instruction_pointer).unwrap() };
Expand Down

0 comments on commit ffe80ed

Please sign in to comment.