|
@@ -872,9 +872,6 @@ fn jit_analyze_and_generate(
|
|
|
cs_offset: u32,
|
|
|
state_flags: CachedStateFlags,
|
|
|
) {
|
|
|
- dbg_log!("Compile code for page at {:x}", page.to_address());
|
|
|
- profiler::stat_increment(stat::COMPILE);
|
|
|
-
|
|
|
if jit_page_has_pending_code(ctx, page) {
|
|
|
return;
|
|
|
}
|
|
@@ -882,6 +879,9 @@ fn jit_analyze_and_generate(
|
|
|
let entry_points = ctx.entry_points.remove(&page);
|
|
|
|
|
|
if let Some(entry_points) = entry_points {
|
|
|
+ dbg_log!("Compile code for page at {:x}", page.to_address());
|
|
|
+ profiler::stat_increment(stat::COMPILE);
|
|
|
+
|
|
|
let cpu = CpuContext {
|
|
|
eip: 0,
|
|
|
prefixes: 0,
|