]> gitweb.factorcode.org Git - factor.git/commitdiff
Docs: fixing docs & comments to work with new stack clearing
authorBjörn Lindqvist <bjourne@gmail.com>
Mon, 12 Sep 2016 00:11:51 +0000 (02:11 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Mon, 12 Sep 2016 00:11:51 +0000 (02:11 +0200)
basis/compiler/cfg/stacks/clearing/clearing-docs.factor
basis/compiler/codegen/gc-maps/gc-maps-tests.factor
basis/vm/vm-docs.factor
vm/slot_visitor.hpp

index a136d4c1851632403f99f999c4ab579a5153eab3..9fe46cabace3a8bb68efa17ca4bd5dbff3e8e6e1 100644 (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"
   }
 } ;
index cff79e6ef6f87c7e2e7be48baff02a02cfaf8fc6..8eafe05a81bcbf605687b1a71eb3d1677bf12af9 100644 (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
index 676da8652edd8783e19cf55a87eaabe4a2e5f3c8..baa0b476240d47b96b47a8ac43ce3cc4e673dedc 100644 (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." }
index ad5305cc3e09801d94956cd6fd16b8ae7fa59b1d..6d08b9b7a2af16beb79fb4faf455cfdea1cad08f 100644 (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;