Fix a typo noticed by Gordon Henriksen. Thanks!
authorReid Spencer <rspencer@reidspencer.com>
Thu, 10 Aug 2006 21:38:47 +0000 (21:38 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 10 Aug 2006 21:38:47 +0000 (21:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29597 91177308-0d34-0410-b5e6-96231b3b80d8

docs/GetElementPtr.html

index a9905fe6074c71db6742275554af1b6ebea6becc..ac910887a6a29e8dd701e7782231df7993d301bf 100644 (file)
   <ul>
     <li> idx1 = &amp;MyVar + 0</li>
     <li> idx2 = &amp;MyVar + 4</li>
-    <li> idx3 = &amp;MyVar = 8</li>
+    <li> idx3 = &amp;MyVar + 8</li>
   </ul>
   <p>Since the type <tt>int</tt> is known to be four bytes long, the indices 
   0, 1 and 2 translate into memory offsets of 0, 4, and 8, respectively. No