summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-10 21:38:47 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-10 21:38:47 +0000
commit23a0c7671d4a995b4b36f00cc1d75e17b187c657 (patch)
treefd22a86fd50fcc479137d53adea3edfa17038330 /docs
parent48f706820a047dbeb198eb2c69ef790fc5dbcf69 (diff)
downloadllvm-23a0c7671d4a995b4b36f00cc1d75e17b187c657.tar.gz
llvm-23a0c7671d4a995b4b36f00cc1d75e17b187c657.tar.bz2
llvm-23a0c7671d4a995b4b36f00cc1d75e17b187c657.tar.xz
Fix a typo noticed by Gordon Henriksen. Thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/GetElementPtr.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/GetElementPtr.html b/docs/GetElementPtr.html
index a9905fe607..ac910887a6 100644
--- a/docs/GetElementPtr.html
+++ b/docs/GetElementPtr.html
@@ -164,7 +164,7 @@
<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