mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Fix validation problem
llvm-svn: 29745
This commit is contained in:
parent
1a152b05e6
commit
09354b923d
@ -88,8 +88,8 @@
|
||||
<pre>
|
||||
X = &Foo[0].F;</pre>
|
||||
<p>Sometimes this question gets rephrased as:</p>
|
||||
<blockquote><i>Why is it okay to index through the first pointer, but
|
||||
subsequent pointers won't be dereferenced?</i></blockquote>
|
||||
<blockquote><p><i>Why is it okay to index through the first pointer, but
|
||||
subsequent pointers won't be dereferenced?</i></p></blockquote>
|
||||
<p>The answer is simply because memory does not have to be accessed to
|
||||
perform the computation. The first operand to the GEP instruction must be a
|
||||
value of a pointer type. The value of the pointer is provided directly to
|
||||
|
Loading…
Reference in New Issue
Block a user