17 lines
1022 B
Factor
17 lines
1022 B
Factor
USING: help.syntax help.markup math kernel
|
|
words strings alien ;
|
|
IN: compiler.generator.fixup
|
|
|
|
HELP: frame-required
|
|
{ $values { "n" "a non-negative integer" } }
|
|
{ $description "Notify the code generator that the currently compiling code block needs a stack frame with room for at least " { $snippet "n" } " parameters." } ;
|
|
|
|
HELP: add-literal
|
|
{ $values { "obj" object } { "n" integer } }
|
|
{ $description "Adds a literal to the " { $link literal-table } ", if it is not already there, and outputs the index of the literal in the table. This literal can then be used as an argument for a " { $link rt-literal } " relocation with " { $link rel-fixup } "." } ;
|
|
|
|
HELP: rel-dlsym
|
|
{ $values { "name" string } { "dll" "a " { $link dll } " or " { $link f } } { "class" "a relocation class" } }
|
|
{ $description "Records that the most recently assembled instruction contains a reference to the " { $snippet "name" } " symbol from " { $snippet "dll" } ". The correct " { $snippet "class" } " to use depends on instruction formats."
|
|
} ;
|