diff options
| -rw-r--r-- | zjit/src/hir.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/zjit/src/hir.rs b/zjit/src/hir.rs index 10c2f461e3..786a994d8b 100644 --- a/zjit/src/hir.rs +++ b/zjit/src/hir.rs @@ -4328,7 +4328,7 @@ impl Function { } } } - self.infer_types(); + crate::stats::trace_compile_phase("infer_types", || self.infer_types()); } fn inline(&mut self) { @@ -4382,7 +4382,7 @@ impl Function { } } } - self.infer_types(); + crate::stats::trace_compile_phase("infer_types", || self.infer_types()); } fn load_shape(&mut self, block: BlockId, recv: InsnId) -> InsnId { @@ -4670,7 +4670,7 @@ impl Function { } } } - self.infer_types(); + crate::stats::trace_compile_phase("infer_types", || self.infer_types()); } fn gen_patch_points_for_optimized_ccall(&mut self, block: BlockId, recv_class: VALUE, method_id: ID, cme: *const rb_callable_method_entry_struct, state: InsnId) { @@ -4989,7 +4989,7 @@ impl Function { self.push_insn_id(block, insn_id); } } - self.infer_types(); + crate::stats::trace_compile_phase("infer_types", || self.infer_types()); } /// Convert `Send` instructions with no profile data into `SideExit` with recompile info. @@ -5488,7 +5488,7 @@ impl Function { changed = true; } if changed { - self.infer_types(); + crate::stats::trace_compile_phase("infer_types", || self.infer_types()); } } |
