1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-23 04:50:28 +02:00
guile/module
Andy Wingo 0f423f20aa fix apply and call/cc in drop contexts
* module/language/tree-il/compile-glil.scm (flatten): Actually apply only
  needs one arg after the proc. And shit, call/cc and apply in drop
  contexts also need to be able to return arbitrary numbers of values;
  work it by trampolining through their applicative (non-@) definitions.
  Also, simplify the single-valued drop case to avoid the
  truncate-values.

* module/language/tree-il/inline.scm (call/cc):
* module/language/tree-il/optimize.scm (*interesting-primitive-names*):
  Define call/cc as "interesting". Perhaps we should be hashing on value
  and not on variable.

* test-suite/tests/tree-il.test ("application"): Fix up test for new,
  sleeker output. (Actually the GLIL is more verbose, but the assembly is
  better.)
  ("apply", "call/cc"): Add some more tests.
2009-05-21 21:13:24 +02:00
..
ice-9 fix failing macro-as-parameter tests in eval.test 2009-05-20 18:11:23 +02:00
language fix apply and call/cc in drop contexts 2009-05-21 21:13:24 +02:00
oop just parse method arguments once. 2009-05-21 15:34:29 +02:00
scripts scripts take rest args 2009-04-20 18:20:01 +02:00
srfi procedures in "drop" contexts can return unspecified values 2009-05-21 17:22:58 +02:00
system remove compile-time-environment 2009-05-20 17:41:21 +02:00
Makefile.am tree-il -> glil compiler works now, at least in initial tests 2009-05-15 23:44:14 +02:00