From: Jim Laskey Date: Tue, 15 Aug 2006 08:14:19 +0000 (+0000) Subject: Typo. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e3c312fc89f7c31b05391b079c6eafd8e13a3991;p=oota-llvm.git Typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29700 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/GetElementPtr.html b/docs/GetElementPtr.html index 08d8006e459..dc57087174e 100644 --- a/docs/GetElementPtr.html +++ b/docs/GetElementPtr.html @@ -81,7 +81,7 @@

it is natural to think that there is only one index, the selection of the field F. However, in this example, Foo is a pointer. That pointer must be indexed explicitly in LLVM. C, on the other hand, indexs - through it ransparently. To arrive at the same address location as the C + through it transparently. To arrive at the same address location as the C code, you would provide the GEP instruction with two index operands. The first operand indexes through the pointer; the second operand indexes the field F of the structure, just as if you wrote: