summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-03-16 07:18:12 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-03-16 07:18:12 +0000
commitd703f65984793c35b1c0dc6d4d2115d237889132 (patch)
tree82290b6d4e67a5118e1ec84e2fce4ff20a8194fb /docs
parentd78c0f5a7255e4347cbd82f7435c51401096652c (diff)
downloadllvm-d703f65984793c35b1c0dc6d4d2115d237889132.tar.gz
llvm-d703f65984793c35b1c0dc6d4d2115d237889132.tar.bz2
llvm-d703f65984793c35b1c0dc6d4d2115d237889132.tar.xz
Commit works on regular functions too. Fix the syntax to allow @foo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48414 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index bacc3a3fa0..f5528b86ca 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -1914,7 +1914,7 @@ branches or with a lookup table.</p>
<h5>Syntax:</h5>
<pre>
- &lt;result&gt; = invoke [<a href="#callingconv">cconv</a>] &lt;ptr to function ty&gt; %&lt;function ptr val&gt;(&lt;function args&gt;)
+ &lt;result&gt; = invoke [<a href="#callingconv">cconv</a>] &lt;ptr to function ty&gt; &lt;function ptr val&gt;(&lt;function args&gt;)
to label &lt;normal label&gt; unwind label &lt;exception label&gt;
</pre>
@@ -1977,9 +1977,9 @@ exception. Additionally, this is important for implementation of
<h5>Example:</h5>
<pre>
- %retval = invoke i32 %Test(i32 15) to label %Continue
+ %retval = invoke i32 @Test(i32 15) to label %Continue
unwind label %TestCleanup <i>; {i32}:retval set</i>
- %retval = invoke <a href="#callingconv">coldcc</a> i32 %Test(i32 15) to label %Continue
+ %retval = invoke <a href="#callingconv">coldcc</a> i32 %Testfnptr(i32 15) to label %Continue
unwind label %TestCleanup <i>; {i32}:retval set</i>
</pre>
</div>