diff options
author | Andy Wingo <wingo@pobox.com> | 2008-09-13 19:19:10 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2008-09-13 19:24:03 +0200 |
commit | f03c31dbaddba733757e3d9161c8d9c8e8f363a7 (patch) | |
tree | 4f1530269500ca4ac25c500950c1ff3bbf2eb6c1 /libguile/vm-engine.c | |
parent | da320011a31f4b58570d8cb7e67cde39133572eb (diff) | |
download | guile-f03c31dbaddba733757e3d9161c8d9c8e8f363a7.tar.gz |
rename tail-call to goto/args, add some more tail instructions
* libguile/vm-i-system.c (call): Rename continuation invocation from
`vm_call_cc' to `vm_call_continuation', because that's what it really
does. Add a note that it doesn't handle multiple values at the moment.
(goto/arg): Renamed from tail-call, in deference to the progenitors, on
Dale Smith's suggestion.
(goto/apply): New instruction, for `apply' in a tail context. Not yet
used, or vetted for that matter.
(call/cc): No need to pop the program, I don't think; although this
isn't tested either.
(goto/cc): New instruction, for call/cc in a tail context.
* module/language/scheme/translate.scm (*forbidden-primitives*): Rename
from %forbidden-primitives.
* module/system/il/compile.scm (codegen): Adapt to goto/args instead of
tail-call.
* module/system/il/inline.scm: Start inlining some macros used in
r4rs.scm -- not yet fully tested.
* ice-9/boot-9.scm: Allow load of a compiled r4rs file.
Diffstat (limited to 'libguile/vm-engine.c')
0 files changed, 0 insertions, 0 deletions