Commit works on regular functions too. Fix the syntax to allow @foo.

llvm-svn: 48414
This commit is contained in:
Nick Lewycky 2008-03-16 07:18:12 +00:00
parent 878114bf16
commit 084ab471fe
1 changed files with 3 additions and 3 deletions

View File

@ -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>