[llvm-commits] [llvm] r48414 - /llvm/trunk/docs/LangRef.html

Nick Lewycky nicholas at mxc.ca
Sun Mar 16 00:18:12 PDT 2008


Author: nicholas
Date: Sun Mar 16 02:18:12 2008
New Revision: 48414

URL: http://llvm.org/viewvc/llvm-project?rev=48414&view=rev
Log:
Commit works on regular functions too. Fix the syntax to allow @foo.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=48414&r1=48413&r2=48414&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Sun Mar 16 02:18:12 2008
@@ -1914,7 +1914,7 @@
 <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 @@
 
 <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>





More information about the llvm-commits mailing list