diff --git a/docs/LangRef.html b/docs/LangRef.html index 6206d774a07..6b5bb962c6b 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -495,11 +495,11 @@ convention.

Global variables define regions of memory allocated at compilation time instead of run-time. Global variables may optionally be initialized. A -variable may be defined as a global "constant", which indicates that the +variable may be defined as a global "constant," which indicates that the contents of the variable will never be modified (enabling better optimization, allowing the global data to be placed in the read-only section of an executable, etc). Note that variables that need runtime initialization -cannot be marked "constant", as there is a store to the variable.

+cannot be marked "constant" as there is a store to the variable.

LLVM explicitly allows declarations of global variables to be marked @@ -720,8 +720,8 @@ be any type with a size.

-

Note that 'variable sized arrays' can be implemented in LLVM With a zero -length array. Normally accesses past the end of an array are undefined in +

Note that 'variable sized arrays' can be implemented in LLVM with a zero +length array. Normally, accesses past the end of an array are undefined in LLVM (e.g. it is illegal to access the 5th element of a 3 element array). As a special case, however, zero length arrays are recognized to be variable length. This allows implementation of 'pascal style arrays' with the LLVM @@ -743,7 +743,7 @@ The return type of a function type cannot be an aggregate type.

Syntax:
  <returntype> (<parameter list>)
-

Where '<parameter list>' is a comma-separated list of type +

...where '<parameter list>' is a comma-separated list of type specifiers. Optionally, the parameter list may include a type ..., which indicates that the function takes a variable number of arguments. Variable argument functions can access their arguments with the

The string 'zeroinitializer' can be used to zero initialize a value to zero of any type, including scalar and aggregate types. This is often used to avoid having to print large zero initializers (e.g. for - large arrays), and is always exactly equivalent to using explicit zero + large arrays) and is always exactly equivalent to using explicit zero initializers.
@@ -1486,7 +1486,7 @@ Both arguments must have identical types.

This returns the remainder of a division (where the result has the same sign as the divisor), not the modulus (where the result has the same sign as the dividend) of a value. For more -information about the difference, see: The Math Forum.

Example:
@@ -1863,9 +1863,9 @@ Instruction

The 'load' instruction is used to read from memory.

Arguments:

The argument to the 'load' instruction specifies the memory -address to load from. The pointer must point to a first class type. If the load is -marked as volatile then the optimizer is not allowed to modify +marked as volatile, then the optimizer is not allowed to modify the number or order of execution of this load with other volatile load and store instructions.

@@ -1889,7 +1889,7 @@ Instruction

The 'store' instruction is used to write to memory.

Arguments:

There are two arguments to the 'store' instruction: a value -to store and an address to store it into. The type of the '<pointer>' +to store and an address in which to store it. The type of the '<pointer>' operand must be a pointer to the type of the '<value>' operand. If the store is marked as volatile, then the optimizer is not allowed to modify the number or order of execution of