]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/compiler/cfg/liveness/liveness-docs.factor
minor cleanup to some docs.
[factor.git] / basis / compiler / cfg / liveness / liveness-docs.factor
index fea54c076016f155013c163920e4b3cc54a363df..43507732414bf640eeaebaf38298b6c1ec318d48 100644 (file)
@@ -1,5 +1,5 @@
 USING: assocs compiler.cfg compiler.cfg.def-use compiler.cfg.instructions
-compiler.cfg.representations help.markup help.syntax ;
+compiler.cfg.representations help.markup help.syntax kernel ;
 IN: compiler.cfg.liveness
 
 HELP: base-pointers
@@ -31,7 +31,7 @@ HELP: live-in
 { $description "All the virtual registers that are live in a basic block." } ;
 
 HELP: live-in?
-{ $values { "vreg" "virtual register" } { "bb" basic-block } { "?" "a boolean" } }
+{ $values { "vreg" "virtual register" } { "bb" basic-block } { "?" boolean } }
 { $description "Whether the vreg is live in the block or not." } ;
 
 HELP: live-ins
@@ -39,7 +39,7 @@ HELP: live-ins
 { $see-also compute-live-sets } ;
 
 HELP: lookup-base-pointer
-{ $values { "vreg" "vreg" } { "vreg/f" "vreg or " { $link f } } }
+{ $values { "vreg" "vreg" } { "vreg/f" { $maybe "vreg" } } }
 { $description "Tries to figure out what the base pointer for a vreg is. Can't use cache here because of infinite recursion inside the quotation passed to cache" }
 { $see-also base-pointers } ;