aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-09-22 09:23:55 +0000
committerBill Wendling <isanbard@gmail.com>2007-09-22 09:23:55 +0000
commit03295ca4e6c17772d046ec216972c776649d6ad9 (patch)
treeeebd50fd9fbc8ebf29afa974eb0e13e5f9d0a0dd /docs
parenteb6aaceb9437872036c7864587f603453091c380 (diff)
downloadexternal_llvm-03295ca4e6c17772d046ec216972c776649d6ad9.zip
external_llvm-03295ca4e6c17772d046ec216972c776649d6ad9.tar.gz
external_llvm-03295ca4e6c17772d046ec216972c776649d6ad9.tar.bz2
Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index e7c3b1f..fcbbde1 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -5160,16 +5160,15 @@ declare void @llvm.memory.barrier( i1 &lt;ll&gt;, i1 &lt;ls&gt;, i1 &lt;sl&gt;,
<p>
For example, if the function is
<tt>i32 f(i8* nest %c, i32 %x, i32 %y)</tt> then the resulting function
- pointer has signature <tt>i32 (i32, i32)*</tt>. It can be created as follows:
+ pointer has signature <tt>i32 (i32, i32)*</tt>. It can be created as follows:</p>
<pre>
%tramp = alloca [10 x i8], align 4 ; size and alignment only correct for X86
%tramp1 = getelementptr [10 x i8]* %tramp, i32 0, i32 0
%p = call i8* @llvm.init.trampoline( i8* %tramp1, i8* bitcast (i32 (i8* nest , i32, i32)* @f to i8*), i8* %nval )
%fp = bitcast i8* %p to i32 (i32, i32)*
</pre>
- The call <tt>%val = call i32 %fp( i32 %x, i32 %y )</tt> is then equivalent to
- <tt>%val = call i32 %f( i8* %nval, i32 %x, i32 %y )</tt>.
-</p>
+ <p>The call <tt>%val = call i32 %fp( i32 %x, i32 %y )</tt> is then equivalent
+ to <tt>%val = call i32 %f( i8* %nval, i32 %x, i32 %y )</tt>.</p>
</div>
<!-- _______________________________________________________________________ -->