diff --git a/basis/compiler/cfg/linear-scan/allocation/allocation-docs.factor b/basis/compiler/cfg/linear-scan/allocation/allocation-docs.factor index da31964b1e..3b3e164f7b 100644 --- a/basis/compiler/cfg/linear-scan/allocation/allocation-docs.factor +++ b/basis/compiler/cfg/linear-scan/allocation/allocation-docs.factor @@ -2,5 +2,5 @@ USING: compiler.cfg compiler.cfg.linear-scan.allocation help.markup help.syntax sequences ; HELP: (allocate-registers) -{ $values { "unhandled-intervals" "stuff" } { "unhandled-sync-points" "stuff" } } +{ $values { "unhandled-min-heap" "stuff" } } { $description "Register allocation works by emptying the unhandled intervals and sync points." } ; diff --git a/basis/compiler/cfg/parallel-copy/parallel-copy-docs.factor b/basis/compiler/cfg/parallel-copy/parallel-copy-docs.factor index 064fdd0c10..7c6a09bf14 100644 --- a/basis/compiler/cfg/parallel-copy/parallel-copy-docs.factor +++ b/basis/compiler/cfg/parallel-copy/parallel-copy-docs.factor @@ -1,16 +1,18 @@ -USING: assocs compiler.cfg compiler.cfg.instructions compiler.cfg.registers -compiler.cfg.parallel-copy.private help.markup help.syntax math sequences ; +USING: assocs arrays compiler.cfg compiler.cfg.instructions +compiler.cfg.parallel-copy.private compiler.cfg.registers +help.markup help.syntax kernel math quotations sequences ; IN: compiler.cfg.parallel-copy HELP: process-to-do +{ $values { "b" object } { "temp" quotation } { "quot" quotation } } { $description "Note that we check if b = loc(b), not b = loc(pred(b)) as the paper suggests. Confirmed by one of the authors at http://www.reddit.com/comments/93253/some_lecture_notes_on_ssa_form/c0bco4f" } ; HELP: parallel-copy -{ $values { "mapping" { $link assoc } " of { dst src } virtual register pairs" } } +{ $values { "mapping" { $link assoc } " of { dst src } virtual register pairs" } { "insns" array } } { $description "Creates " { $link ##copy } " instructions." } ; HELP: parallel-copy-rep -{ $values { "mapping" { $link assoc } " of { dst src } virtual register pairs" } } +{ $values { "mapping" { $link assoc } " of { dst src } virtual register pairs" } { "insns" array } } { $description "Creates " { $link ##copy } " instructions." } ; ARTICLE: "compiler.cfg.parallel-copy" "Parallel copy" diff --git a/basis/compiler/cfg/stacks/local/local-docs.factor b/basis/compiler/cfg/stacks/local/local-docs.factor index 48e2954326..6fc6c13d1d 100644 --- a/basis/compiler/cfg/stacks/local/local-docs.factor +++ b/basis/compiler/cfg/stacks/local/local-docs.factor @@ -44,7 +44,7 @@ HELP: height-changes { $description "Converts a " { $link current-height } " tuple to 0-2 stack height change instructions." } { $examples { $example - "USING: compiler.cfg.stacks.local ;" + "USING: compiler.cfg.stacks.local prettyprint ;" "T{ current-height { emit-d 4 } { emit-r -2 } } height-changes ." "{ T{ ##inc-d { n 4 } } T{ ##inc-r { n -2 } } }" } diff --git a/basis/compiler/cfg/stacks/stacks-docs.factor b/basis/compiler/cfg/stacks/stacks-docs.factor index 3b31208f98..11d59721a8 100644 --- a/basis/compiler/cfg/stacks/stacks-docs.factor +++ b/basis/compiler/cfg/stacks/stacks-docs.factor @@ -21,7 +21,7 @@ HELP: ds-drop { $description "Used to signal to the stack analysis that the datastacks height is decreased by one." } ; HELP: ds-store -{ $values { "vreg" "a " { $link sequence } " of vregs." } } +{ $values { "vregs" "a " { $link sequence } " of vregs." } } { $description "Registers that a sequence of vregs are stored at at each corresponding index of the data stack." } ; HELP: rs-store