diff --git a/docs/LangRef.html b/docs/LangRef.html index 729dcdf118f..acc6a3bbd50 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -831,16 +831,16 @@ table is not allowed to contain duplicate constant entries.

The switch instruction specifies a table of values and destinations. When the 'switch' instruction is executed, this -table is searched for the given value. If the value is found, the -corresponding destination is branched to, otherwise the default value -it transfered to.

+table is searched for the given value. If the value is found, control flow is +transfered to the corresponding destination; otherwise, control flow is +transfered to the default destination.

Implementation:

Depending on properties of the target machine and the particular switch instruction, this instruction may be code generated in different -ways, for example as a series of chained conditional branches, or with a lookup -table.

+ways. For example, it could be generated as a series of chained conditional +branches or with a lookup table.

Example: