diff options
author | Andy Wingo <wingo@pobox.com> | 2008-10-02 11:00:55 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2008-10-02 11:00:55 +0200 |
commit | 9a8cc8e7f736bda93706dc74e6ab8f07621dd341 (patch) | |
tree | 7f156621c5db8b2fe8ce9ebd6cb76036fb26cd29 /libguile/vm-i-loader.c | |
parent | 7e91e01dd85ae4a54f7f4c41bbb174fb73cddeeb (diff) | |
download | guile-9a8cc8e7f736bda93706dc74e6ab8f07621dd341.tar.gz |
be more like the interpreter in signalling wrong-num-args
* libguile/vm-engine.c: Call scm_wrong_num_args in the wrong-num-args
case, to be more like the interpreter.
* libguile/vm-engine.h (ASSERT): New macro.
* libguile/vm-i-system.c (apply, goto/apply): Assert that nargs >= 2,
because the compiler should always feed us correct instructions.
(call/cc): If no values are returned to the continuation, signal
no_values instead of wrong_num_args.
Diffstat (limited to 'libguile/vm-i-loader.c')
0 files changed, 0 insertions, 0 deletions