1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module
Andy Wingo f764e2590f Remove default soft stack limit; add call-with-stack-overflow-handler
* libguile/vm.h:
* libguile/vm.c (default_max_stack_size, initialize_default_stack_size):
  Remove the default stack limit.  In this way, programs run from the
  command line or outside of the REPL will have no soft stack limit.
  (make_vm): Change `max_stack_size' field to be a stack of limits and
  handlers.
  (current_overflow_size, should_handle_stack_overflow)
  (reset_stack_limit, wind_overflow_handler, unwind_overflow_handler)
  (vm_expand_stack): If the stack surpasses a user-set limit, call the
  user-specified handler within its outer stack limit.
  (call-with-stack-overflow-handler): New interface.

* module/system/vm/vm.scm: Export call-with-stack-overflow-handler.
2014-03-12 17:18:13 +01:00
..
ice-9 Fix for-each bug detecting not-a-list 2014-03-02 12:04:18 +01:00
language Simplification pass prunes all unreachable continuations 2014-02-25 21:32:36 +01:00
oop Avoid using 'eval-when' with 'expand' in (oop goops). 2014-02-07 20:05:17 -05:00
rnrs Merge commit '8571dbde63' 2013-11-28 15:00:17 +01:00
scripts Rename "RTL" to "bytecode" 2013-12-02 21:31:47 +01:00
srfi Port unrolled one-argument for-each from boot-9 to srfi-1 2014-03-02 12:05:32 +01:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system Remove default soft stack limit; add call-with-stack-overflow-handler 2014-03-12 17:18:13 +01:00
texinfo Improve correctness and consistency of 'eval-when' usage. 2014-01-23 10:41:22 -05:00
web Merge commit 'a5cbbaa66a' 2014-02-07 14:43:23 +01:00
Makefile.am Add prune-top-level-scopes pass 2014-02-13 09:30:39 +01:00
rnrs.scm Add missing R6RS `open-file-input/output-port' procedure 2012-11-12 20:47:57 +01:00
statprof.scm ,profile, statprof, gcprof have an outer stack cut 2014-03-01 16:09:30 +01:00
texinfo.scm Fix newline preservation in @example with lines beginning with @ 2014-02-27 17:16:29 +01:00