compiler.cfg.linear-scan.allocation: fix docs for free-position.

db4
John Benediktsson 2015-06-16 20:38:13 -07:00
parent 4eb6fd6624
commit 423b2afb91
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
USING: assocs compiler.cfg compiler.cfg.instructions
compiler.cfg.linear-scan.allocation compiler.cfg.linear-scan.allocation.state
compiler.cfg.linear-scan.live-intervals hashtables help.markup help.syntax
kernel sequences ;
compiler.cfg.linear-scan.live-intervals cpu.architecture hashtables help.markup
help.syntax kernel sequences ;
IN: compiler.cfg.linear-scan.allocation
HELP: (allocate-registers)
@ -25,7 +25,7 @@ HELP: assign-register
{ $description "Assigns a processor register to the live interval." } ;
HELP: free-positions
{ $values { "registers" assoc } { "reg-class" } { "avail-registers" assoc } }
{ $values { "registers" assoc } { "reg-class" { $or int-regs float-regs } } { "avail-registers" assoc } }
{ $description "Creates an alist mapping registers to their desirability for allocation. 'avail-registers' is an alist and not a " { $link hashtable } " because the register allocation order is significant." }
{ $see-also register-status } ;