1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-03 18:50:19 +02:00
guile/module/language/tree-il
Andy Wingo 1f70d597db Allow functions to mark themselves as maybe-unused
* module/language/tree-il/analyze.scm (<reference-graph>): Oh my
goodness, constructor args were reversed relative to field order.
Constructor use was consistent but it was terribly confusing; fixed and
updated uses.
(unused-toplevel-analysis): Add ability for functions to mark themselves
as "maybe-unused"; such functions won't cause unused toplevel warnings.

* module/language/tree-il/compile-bytecode.scm (sanitize-meta):
(compile-closure):
* module/language/tree-il/compile-cps.scm (sanitize-meta): Prevent
maybe-unused from being needlessly written out to the binary.
2023-08-24 11:43:15 +02:00
..
analyze.scm Allow functions to mark themselves as maybe-unused 2023-08-24 11:43:15 +02:00
compile-bytecode.scm Allow functions to mark themselves as maybe-unused 2023-08-24 11:43:15 +02:00
compile-cps.scm Allow functions to mark themselves as maybe-unused 2023-08-24 11:43:15 +02:00
cps-primitives.scm CPS compiler reduces eq? on constant to eq-constant? 2020-08-03 22:19:18 +02:00
debug.scm Use tree-il-srcv instead of tree-il-src 2023-06-19 13:53:01 +02:00
effects.scm Fix tree-il effects analysis for prompts 2021-05-01 22:16:20 +02:00
eta-expand.scm Add eta-expansion pass after peval 2020-01-15 16:11:15 +01:00
fix-letrec.scm Excise use of record-case 2023-06-19 13:53:01 +02:00
inlinable-exports.scm Fix reproducibility for inlinable-exports 2022-02-01 14:50:44 +01:00
letrectify.scm Use tree-il-srcv instead of tree-il-src 2023-06-19 13:53:01 +02:00
optimize.scm Implement cross-module inlining 2021-05-11 21:39:07 +02:00
peval.scm Use tree-il-srcv instead of tree-il-src 2023-06-19 13:53:01 +02:00
primitives.scm Excise use of record-case 2023-06-19 13:53:01 +02:00
resolve-free-vars.scm -Oresolve-free-vars pass gracefully handles failed autoloads. 2022-01-11 21:32:40 +01:00
spec.scm Change -O1 compiler to use baseline and also resolve primitives 2020-06-01 21:15:39 +02:00