chore: remove outdated comments (#9349)

This commit is contained in:
Cameron Zwarich 2025-07-13 18:15:36 -07:00 committed by GitHub
parent 7a83adf10d
commit b04ee0de57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,13 +21,8 @@ Recall that the Lean to λ_pure compiler produces code without these instruction
Assumptions:
- This transformation is applied before explicit RC instructions (`inc`, `dec`) are inserted.
- This transformation is applied before `FnBody.case` has been simplified and `Alt.default` is used.
Reason: if there is no `Alt.default` branch, then we can decide whether `x` at `FnBody.case x alts` is an
enumeration type by simply inspecting the `CtorInfo` values at `alts`.
- This transformation is applied before lower level optimizations are applied which use
`Expr.isShared`, `Expr.isTaggedPtr`, and `FnBody.set`.
- This transformation is applied after `reset` and `reuse` instructions have been added.
Reason: `resetreuse.lean` ignores `box` and `unbox` instructions.
-/
def mkBoxedName (n : Name) : Name :=