Navigation Menu

Skip to content

Commit

Permalink
Docs: fixing docs & comments to work with new stack clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
bjourne committed Sep 12, 2016
1 parent 349f996 commit ab7e077
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion basis/compiler/cfg/stacks/clearing/clearing-docs.factor
Expand Up @@ -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"
}
} ;
Expand Down
1 change: 0 additions & 1 deletion basis/compiler/codegen/gc-maps/gc-maps-tests.factor
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions basis/vm/vm-docs.factor
Expand Up @@ -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." }
Expand Down
2 changes: 0 additions & 2 deletions vm/slot_visitor.hpp
Expand Up @@ -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;
Expand Down

0 comments on commit ab7e077

Please sign in to comment.