1
Fork 0

Typo fixes to docs, from Ralph Giles.

This commit is contained in:
Graydon Hoare 2010-07-13 16:04:31 -07:00
parent 2eba370aa2
commit 405cd282a3
2 changed files with 10 additions and 9 deletions

View file

@ -1201,9 +1201,9 @@ different tasks. Like any other immutable type, they can pass over channels,
and live as long as the last task referencing them within a given domain. When and live as long as the last task referencing them within a given domain. When
unreferenced, they are destroyed immediately (due to reference-counting) and unreferenced, they are destroyed immediately (due to reference-counting) and
returned to the heap memory allocator. Destruction of an immutable box also returned to the heap memory allocator. Destruction of an immutable box also
executes within the context of task that drops the last reference to a shared executes within the context of the task that drops the last reference to a
heap allocation, so executing a long-running destructor does not interrupt shared heap allocation, so executing a long-running destructor does not
execution of other tasks. interrupt execution of other tasks.
@node Ref.Mem.Own @node Ref.Mem.Own
@ -2997,7 +2997,7 @@ by the runtime or emitted to a system console. Log statements are enabled or
disabled dynamically at run-time on a per-task and per-item disabled dynamically at run-time on a per-task and per-item
basis. @xref{Ref.Run.Log}. basis. @xref{Ref.Run.Log}.
Executing a @code{log} statement not considered an @code{io} effect in the Executing a @code{log} statement is not considered an @code{io} effect in the
effect system. In other words, a pure function remains pure even if it effect system. In other words, a pure function remains pure even if it
contains a log statement. contains a log statement.
@ -3046,10 +3046,11 @@ completes normally, the runtime will not log the path.
A value that is marked by a @code{note} statement is @emph{not} copied aside A value that is marked by a @code{note} statement is @emph{not} copied aside
when control passes through the @code{note}. In other words, if a @code{note} when control passes through the @code{note}. In other words, if a @code{note}
statement notes a particular @var{lval}, and code after the @code{note} that statement notes a particular @var{lval}, and code after the @code{note}
slot, and then a subsequent failure occurs, the @emph{mutated} value will be mutates that slot, and then a subsequent failure occurs, the @emph{mutated}
logged during unwinding, @emph{not} the original value that was denoted by the value will be logged during unwinding, @emph{not} the original value that was
@var{lval} at the moment control passed through the @code{note} statement. denoted by the @var{lval} at the moment control passed through the @code{note}
statement.
@node Ref.Stmt.While @node Ref.Stmt.While
@subsection Ref.Stmt.While @subsection Ref.Stmt.While

View file

@ -398,7 +398,7 @@ Probably-bad ideas we will want to do differently in the self-hosted compiler:
ever-more constraints (is_resolved(ast), is_typechecked(ast), etc.) ever-more constraints (is_resolved(ast), is_typechecked(ast), etc.)
- Trans should be organized as pure and value-producing code, not imperatively - Trans should be organized as pure and value-producing code, not imperatively
emitting quads into emitters. LLVM will enforce this anwyays. See what emitting quads into emitters. LLVM will enforce this anyways. See what
happened in lltrans.ml if you're curious what it'll look (more) like. happened in lltrans.ml if you're curious what it'll look (more) like.
- The PIC scheme will have to change, hopefully get much easier. - The PIC scheme will have to change, hopefully get much easier.