Move control-stack scavenging to gc-common.c.
authorAlastair Bridgewater <nyef@arisu.lisphacker.com>
Thu, 10 Nov 2011 20:37:40 +0000 (15:37 -0500)
committerAlastair Bridgewater <nyef@arisu.lisphacker.com>
Thu, 15 Dec 2011 14:46:48 +0000 (09:46 -0500)
commitaab1cd8a9dc69450a046d4f176ec5b9fde43c42c
treeae71e5f04dc51bbf93767df6316e73d1f3197c01
parent5b73de214846660abe5d6aaabdb43368fc33dea3
Move control-stack scavenging to gc-common.c.

  * Instead of having slightly-divergent copies of the control
stack scavenging logic for both GENCGC and CHENEYGC, move the
GENCGC version (which is a separate function) to gc-common.c,
and alter CHENEYGC to use it instead of doing its own thing
inline.
src/runtime/cheneygc.c
src/runtime/gc-common.c
src/runtime/gc-internal.h
src/runtime/gencgc.c