From 2ea6b5068c90151bec6e334cdec25c79d37cbf89 Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Fri, 1 Aug 2025 10:42:32 -0700 Subject: [PATCH] chore: make Compiler.findJoinPoints trace messages more useful (#9668) --- src/Lean/Compiler/LCNF/JoinPoints.lean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lean/Compiler/LCNF/JoinPoints.lean b/src/Lean/Compiler/LCNF/JoinPoints.lean index 58b48a7267..6a091af4b1 100644 --- a/src/Lean/Compiler/LCNF/JoinPoints.lean +++ b/src/Lean/Compiler/LCNF/JoinPoints.lean @@ -610,7 +610,7 @@ their definitions and call sites with `jp`/`jmp`. -/ def Decl.findJoinPoints (decl : Decl) : CompilerM Decl := do let findResult ← JoinPointFinder.find decl - trace[Compiler.findJoinPoints] "Found: {findResult.candidates.size} jp candidates" + trace[Compiler.findJoinPoints] "Found {findResult.candidates.size} jp candidates for {decl.name}" JoinPointFinder.replace decl findResult def findJoinPoints : Pass :=