chore: remove mentions of the compiler being new from trace messages (#9253)
This commit is contained in:
parent
d38c36001d
commit
beeeead99f
1 changed files with 3 additions and 3 deletions
|
|
@ -100,7 +100,7 @@ def run (declNames : Array Name) : CompilerM (Array IR.Decl) := withAtLeastMaxRe
|
|||
let manager ← getPassManager
|
||||
let isCheckEnabled := compiler.check.get (← getOptions)
|
||||
for pass in manager.passes do
|
||||
decls ← withTraceNode `Compiler (fun _ => return m!"new compiler phase: {pass.phase}, pass: {pass.name}") do
|
||||
decls ← withTraceNode `Compiler (fun _ => return m!"compiler phase: {pass.phase}, pass: {pass.name}") do
|
||||
withPhase pass.phase <| pass.run decls
|
||||
withPhase pass.phaseOut <| checkpoint pass.name decls (isCheckEnabled || pass.shouldAlwaysRunCheck)
|
||||
if (← Lean.isTracingEnabledFor `Compiler.result) then
|
||||
|
|
@ -135,8 +135,8 @@ def showDecl (phase : Phase) (declName : Name) : CoreM Format := do
|
|||
|
||||
@[export lean_lcnf_compile_decls]
|
||||
def main (declNames : List Name) : CoreM Unit := do
|
||||
profileitM Exception "compilation new" (← getOptions) do
|
||||
withTraceNode `Compiler (fun _ => return m!"compiling new: {declNames}") do
|
||||
profileitM Exception "compilation" (← getOptions) do
|
||||
withTraceNode `Compiler (fun _ => return m!"compiling: {declNames}") do
|
||||
CompilerM.run <| discard <| PassManager.run declNames.toArray
|
||||
|
||||
builtin_initialize
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue