1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module/language/tree-il
Andy Wingo 9d5978a756 New warnings: -Wuse-before-definition, -Wnon-idempotent-definition
* module/ice-9/boot-9.scm (%auto-compilation-options): Add
  use-before-definition and non-idempotent-definition.
* module/language/tree-il/analyze.scm (<use-before-def-info>): New
  analysis info.
  (make-use-before-definition-analysis): New function.
  (goops-toplevel-definition): Move down.
  (unbound-variable-analysis, macro-use-before-definition): Remove, as
  they are subsumed by use-before-def.  There are some deprecated
  bindings though.
  (make-analyzer): Rework to allow for use-before-def analysis to handle
  multiple
* module/system/base/message.scm (%warning-types): Add handlers for the
  new warning types.
* test-suite/tests/tree-il.test: Add tests.
* doc/ref/api-evaluation.texi (Compilation): Update.
2021-01-07 10:26:33 +01:00
..
analyze.scm New warnings: -Wuse-before-definition, -Wnon-idempotent-definition 2021-01-07 10:26:33 +01:00
compile-bytecode.scm CPS compiler reduces eq? on constant to eq-constant? 2020-08-03 22:19:18 +02:00
compile-cps.scm CPS compiler reduces eq? on constant to eq-constant? 2020-08-03 22:19:18 +02:00
cps-primitives.scm CPS compiler reduces eq? on constant to eq-constant? 2020-08-03 22:19:18 +02:00
debug.scm Add "mod" field to tree-il toplevel ref, set, define 2019-08-18 22:27:12 +02:00
effects.scm Add primitive support for working with module variables 2019-08-18 22:27:12 +02:00
eta-expand.scm Add eta-expansion pass after peval 2020-01-15 16:11:15 +01:00
fix-letrec.scm Add "mod" field to tree-il toplevel ref, set, define 2019-08-18 22:27:12 +02:00
letrectify.scm Disable eta-expansion in letrectification 2020-01-15 16:11:20 +01:00
optimize.scm Fix bug where private bindings would never be sealed 2020-05-31 22:05:41 +02:00
peval.scm Fold eqv? to eq? on exact integers according to target fixnum range 2020-08-12 23:30:08 +02:00
primitives.scm More robust reduction of equal? and eqv? 2020-05-13 15:51:58 +02:00
spec.scm Change -O1 compiler to use baseline and also resolve primitives 2020-06-01 21:15:39 +02:00