Docs: fixing docs & comments to work with new stack clearing

char-rename
Björn Lindqvist 2016-09-12 02:11:51 +02:00
parent 349f99661d
commit ab7e077b1d
4 changed files with 1 additions and 6 deletions

View File

@ -44,7 +44,7 @@ HELP: dangerous-insn?
}
{ $example
"USING: compiler.cfg.instructions compiler.cfg.registers compiler.cfg.stacks.clearing prettyprint ;"
"{ { 0 { } } { 3 { } } } T{ ##call-gc } dangerous-insn?"
"{ { 0 { } } { 3 { } } } T{ ##call-gc } dangerous-insn? ."
"t"
}
} ;

View File

@ -105,7 +105,6 @@ cpu x86.64? [
] with-variable
] unit-test
! scrub-d scrub-r gc-roots
{ 9 B{ 32 1 } } [
32 cfg-w-spill-area-base cfg [
{ 0 24 } <gc-map/spills> 1array

View File

@ -20,8 +20,6 @@ HELP: vm
HELP: gc-info
{ $class-description "A struct that defines the sizes of the garbage collection maps for a word. It has the following slots:"
{ $table
{ { $slot "scrub-d-count" } "Number of datastack scrub bits per callsite." }
{ { $slot "scrub-r-count" } "Number of retainstack scrub bits per callsite." }
{ { $slot "gc-root-count" } "Number of gc root bits per callsite." }
{ { $slot "derived-root-count" } "Number of derived roots per callsite." }
{ { $slot "return-address-count" } "Number of gc callsites." }

View File

@ -309,8 +309,6 @@ void slot_visitor<Fixup>::visit_callstack(context* ctx) {
template <typename Fixup>
void slot_visitor<Fixup>::visit_context(context* ctx) {
// Callstack is visited first because it scrubs the data and retain
// stacks.
visit_callstack(ctx);
cell ds_ptr = ctx->datastack;