From 1dda2631070020ab857a3dc6a92a8404a89a8810 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Tue, 15 Aug 2006 08:14:19 +0000 Subject: [PATCH] Typo. llvm-svn: 29700 --- docs/GetElementPtr.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: