1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-31 01:10:24 +02:00
guile/module
Andy Wingo 880e794812 inline dynwind guards for normal control flow
* module/language/tree-il.scm (<tree-il>): Add `pre' and `post' fields
  to <dynwind>, so that we can inline the guard bodies in the normal
  control-flow case.  It also avoids duplicating code in compile-glil,
  which probably hides more bugs in 2.0.
  (parse-tree-il, unparse-tree-il, tree-il->scheme, tree-il-fold)
  (make-tree-il-folder, post-order!, pre-order!): Update.

* module/language/tree-il/analyze.scm (analyze-lexicals): Update.

* module/language/tree-il/compile-glil.scm (flatten-lambda-case): Update
  to use `pre' and `post' instead of compiling code twice.

* module/language/tree-il/debug.scm (verify-tree-il): Update.

* module/language/tree-il/peval.scm (peval): Update.  Instead of doing
  complicated things in <dynwind>, handle 'dynamic-wind primcalls.

* module/language/tree-il/primitives.scm (*primitive-expand-table*):
  Remove 'dynamic-wind mess.  Adapt '@dynamic-wind.

* test-suite/tests/tree-il.test ("partial evaluation"): Update tests.
2011-11-09 19:38:44 +01:00
..
ice-9 regenerate psyntax-pp 2011-11-07 11:48:30 +01:00
language inline dynwind guards for normal control flow 2011-11-09 19:38:44 +01:00
oop Merge remote-tracking branch 'origin/stable-2.0' 2011-09-29 18:02:28 +02:00
rnrs Fix R6RS `fold-left' so the accumulator is the first argument. 2011-11-01 01:11:46 +01:00
scripts better guild help FOO 2011-08-19 12:32:01 +02:00
srfi fix srfi-67 compilation 2011-09-02 19:49:26 +02:00
sxml more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
system Merge remote-tracking branch 'origin/stable-2.0' 2011-10-27 13:45:04 +02:00
texinfo module-stexi-documentation #:docs-resolver keyword arg 2011-08-23 18:00:02 +02:00
web fix (web http) write-date for mondays 2011-10-17 09:52:04 +02:00
Makefile.am add tree-il verifier 2011-10-07 11:05:43 +02:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00