summaryrefslogtreecommitdiffstats
path: root/llvm/docs/GetElementPtr.html
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
commitdb554891cbfdc9b1ff4f9811839d4ba6abeaf4f0 (patch)
tree4c22cb6eef49896b38d09d29b2cd6c7254afad4e /llvm/docs/GetElementPtr.html
parente1b3eaf18aca0cda4beb5f5ce0e73638c46d5d35 (diff)
downloadbcm5719-llvm-db554891cbfdc9b1ff4f9811839d4ba6abeaf4f0.tar.gz
bcm5719-llvm-db554891cbfdc9b1ff4f9811839d4ba6abeaf4f0.zip
Fix a typo noticed by Gordon Henriksen. Thanks!
llvm-svn: 29597
Diffstat (limited to 'llvm/docs/GetElementPtr.html')
-rw-r--r--llvm/docs/GetElementPtr.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/GetElementPtr.html b/llvm/docs/GetElementPtr.html
index a9905fe6074..ac910887a6a 100644
--- a/llvm/docs/GetElementPtr.html
+++ b/llvm/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
OpenPOWER on IntegriCloud