chore: make Compiler.findJoinPoints trace messages more useful (#9668)

This commit is contained in:
Cameron Zwarich 2025-08-01 10:42:32 -07:00 committed by GitHub
parent 4cd917aa65
commit 2ea6b5068c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 :=