From bc5c23b162c6ab29b9a8ff0ef0f60196c661c781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Sat, 15 Nov 2014 07:42:44 +0100 Subject: [PATCH] compiler.cfg.linear-scan.assignment: stub docs --- .../assignment/assignment-docs.factor | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 basis/compiler/cfg/linear-scan/assignment/assignment-docs.factor diff --git a/basis/compiler/cfg/linear-scan/assignment/assignment-docs.factor b/basis/compiler/cfg/linear-scan/assignment/assignment-docs.factor new file mode 100644 index 0000000000..b44dbe393e --- /dev/null +++ b/basis/compiler/cfg/linear-scan/assignment/assignment-docs.factor @@ -0,0 +1,20 @@ +USING: compiler.cfg.instructions help.markup help.syntax ; +IN: compiler.cfg.linear-scan.assignment + +HELP: assign-registers-in-insn +{ $values { "insn" insn } } +{ $description "Assigns physical registers and spill slots for the virtual registers used by the instruction." } ; + +HELP: assign-gc-roots +{ $values { "gc-map" gc-map } } +{ $description "Assigns spill slots for all gc roots in a gc map." } +{ $see-also spill-slot } ; + +HELP: vreg>reg +{ $values { "vreg" "virtaul register" } { "reg" "register" } } +{ $description "If a live vreg is not in the pending set, then it must have been spilled." } ; + +ARTICLE: "compiler.cfg.linear-scan.assignment" "Assigning registers to live intervals" +"The " { $vocab-link "compiler.cfg.linear-scan.assignment" } " assigns registers to live intervals." ; + +ABOUT: "compiler.cfg.linear-scan.assignment"