1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-14 15:40:19 +02:00

* root.h (scm_root_state): removed the continuation_stack and

continuation_stack_ptr members, which have no apparent purpose.
	(scm_continuation_stack, scm_continuation_stack_ptr): #defines
	removed.
	* root.c (root_mark), init.c (restart_stack, start_stack), gc
	(scm_igc): remove all references to contination_stack and
	continuation_stack_ptr, avoiding allocation of a vector and
	useless processing during gc.
This commit is contained in:
Gary Houston 2001-09-15 21:56:52 +00:00
parent 455c0ac82b
commit 6c1b762870
5 changed files with 11 additions and 31 deletions

View file

@ -73,8 +73,6 @@ root_mark (SCM root)
scm_gc_mark (s->rootcont);
scm_gc_mark (s->dynwinds);
scm_gc_mark (s->continuation_stack);
scm_gc_mark (s->continuation_stack_ptr);
scm_gc_mark (s->progargs);
scm_gc_mark (s->exitval);
scm_gc_mark (s->cur_inp);
@ -122,8 +120,6 @@ scm_make_root (SCM parent)
/* Initialize everything right now, in case a GC happens early. */
root_state->rootcont
= root_state->dynwinds
= root_state->continuation_stack
= root_state->continuation_stack_ptr
= root_state->progargs
= root_state->exitval
= root_state->cur_inp