-
Couldn't load subscription status.
- Fork 13.9k
Closed
Labels
A-codegenArea: Code generationArea: Code generationC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.
Description
The type_use implementation is buggy, leading to nightmarish code generation errors. The mergefunc pass will be strictly better in terms of code size reduction since it compares equality of the function bytecode after normalizing it. I think it will catch nearly every valid case we currently do with type_use, if not all.
We should drop the maintenance burden as soon as we get mergefunc working (or sooner) and revisit it as a potential compile-time optimization in the future.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.