Compare commits

...

1 Commits

Author SHA1 Message Date
Henrik Böving
e709b2fa3d perf: no need to specialize the debugging slow path 2025-12-03 23:02:38 +00:00

View File

@@ -140,6 +140,7 @@ def addRawTrace (msg : MessageData) : m Unit := do
let msg addMessageContext msg
modifyTraces (·.push { ref, msg })
@[nospecialize]
def addTrace (cls : Name) (msg : MessageData) : m Unit := do
let ref getRef
let msg addMessageContext msg