mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
doc: Fix a few typos in vm section.
* doc/ref/vm.texi: Fix some grammar and typos. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ab861be9b2
commit
431056793a
1 changed files with 3 additions and 3 deletions
|
@ -1375,7 +1375,7 @@ as a @code{scm} value directly.
|
|||
|
||||
@deftypefn Instruction {} make-non-immediate s24:@var{dst} n32:@var{offset}
|
||||
Load a pointer to statically allocated memory into @var{dst}. The
|
||||
object's memory is will be found @var{offset} 32-bit words away from the
|
||||
object's memory will be found @var{offset} 32-bit words away from the
|
||||
current instruction pointer. Whether the object is mutable or immutable
|
||||
depends on where it was allocated by the compiler, and loaded by the
|
||||
loader.
|
||||
|
@ -1384,7 +1384,7 @@ loader.
|
|||
Sometimes you need to load up a code pointer into a register; for this,
|
||||
use @code{load-label}.
|
||||
|
||||
@deftypefn Instruction {} make-non-immediate s24:@var{dst} l32:@var{offset}
|
||||
@deftypefn Instruction {} load-label s24:@var{dst} l32:@var{offset}
|
||||
Load a label @var{offset} words away from the current @code{ip} and
|
||||
write it to @var{dst}. @var{offset} is a signed 32-bit integer.
|
||||
@end deftypefn
|
||||
|
@ -1422,7 +1422,7 @@ pointer. @var{offset} is a signed value.
|
|||
Fields of non-immediates may need to be fixed up at load time, because
|
||||
we do not know in advance at what address they will be loaded. This is
|
||||
the case, for example, for a pair containing a non-immediate in one of
|
||||
its fields. @code{static-ref} and @code{static-patch!} are used in
|
||||
its fields. @code{static-set!} and @code{static-patch!} are used in
|
||||
these situations.
|
||||
|
||||
@deftypefn Instruction {} static-set! s24:@var{src} lo32:@var{offset}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue