mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
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
This commit is contained in:
parent
d78c0f5a72
commit
d703f65984
@ -1914,7 +1914,7 @@ branches or with a lookup table.</p>
|
||||
<h5>Syntax:</h5>
|
||||
|
||||
<pre>
|
||||
<result> = invoke [<a href="#callingconv">cconv</a>] <ptr to function ty> %<function ptr val>(<function args>)
|
||||
<result> = invoke [<a href="#callingconv">cconv</a>] <ptr to function ty> <function ptr val>(<function args>)
|
||||
to label <normal label> unwind label <exception label>
|
||||
</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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user