From e4c57cc72b7b1a6f1508b09ed731563c84472bd8 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Thu, 12 May 2005 16:52:32 +0000 Subject: [PATCH] Fixed some typos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21891 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 5e1ddaa1be1..f9b777617f2 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -305,7 +305,7 @@ important lexical features of LLVM:

-

...and it also show a convention that we follow in this document. When +

...and it also shows a convention that we follow in this document. When demonstrating instructions, we will follow an instruction with a comment that defines the type and name of value produced. Comments are shown in italic text.

@@ -446,7 +446,7 @@ the future:

This calling convention (the default if no other calling convention is specified) matches the target C calling conventions. This calling convention - supports varargs function calls, and tolerates some mismatch in the declared + supports varargs function calls and tolerates some mismatch in the declared prototype and implemented declaration of the function (as does normal C).
@@ -539,7 +539,7 @@ basic block a symbol table entry), contains a list of instructions, and ends with a terminator instruction (such as a branch or function return).

-

The first basic block in program is special in two ways: it is immediately +

The first basic block in a program is special in two ways: it is immediately executed on entrance to the function, and it is not allowed to have predecessor basic blocks (i.e. there can not be any branches to the entry block of a function). Because the block can have no predecessors, it also cannot have any @@ -685,7 +685,7 @@ elements) and an underlying data type.

[<# elements> x <elementtype>] -

The number of elements is a constant integer value, elementtype may +

The number of elements is a constant integer value; elementtype may be any type with a size.

Examples:
@@ -1060,7 +1060,7 @@ following is the syntax for constant expressions:

be any of the binary or bitwise binary operations. The constraints on operands are the same as those for the corresponding instruction (e.g. no bitwise operations on floating point - are allowed). + values are allowed). @@ -1125,7 +1125,7 @@ returns back to the calling function's context. If the caller is a "call" instruction, execution continues at the instruction after the call. If the caller was an "invoke" instruction, execution continues -at the beginning "normal" of the destination block. If the instruction +at the beginning of the "normal" destination block. If the instruction returns a value, that value shall set the call or invoke instruction's return value.

Example:
@@ -1235,12 +1235,12 @@ branches or with a lookup table.

The 'invoke' instruction causes control to transfer to a specified function, with the possibility of control flow transfer to either the -'normal' label label or the -'exception'label. If the callee function returns with the +'normal' label or the +'exception' label. If the callee function returns with the "ret" instruction, control flow will return to the "normal" label. If the callee (or any indirect callees) returns with the "unwind" instruction, control is interrupted, and -continued at the dynamically nearest "except" label.

+href="#i_unwind">unwind" instruction, control is interrupted and +continued at the dynamically nearest "exception" label.

Arguments: