From: Nick Lewycky Date: Sun, 16 Mar 2008 07:18:12 +0000 (+0000) Subject: Commit works on regular functions too. Fix the syntax to allow @foo. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d703f65984793c35b1c0dc6d4d2115d237889132;p=oota-llvm.git 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 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index bacc3a3fa06..f5528b86ca9 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1914,7 +1914,7 @@ branches or with a lookup table.

Syntax:
-  <result> = invoke [cconv] <ptr to function ty> %<function ptr val>(<function args>) 
+  <result> = invoke [cconv] <ptr to function ty> <function ptr val>(<function args>) 
                 to label <normal label> unwind label <exception label>
 
@@ -1977,9 +1977,9 @@ exception. Additionally, this is important for implementation of
Example:
-  %retval = invoke i32 %Test(i32 15) to label %Continue
+  %retval = invoke i32 @Test(i32 15) to label %Continue
               unwind label %TestCleanup              ; {i32}:retval set
-  %retval = invoke coldcc i32 %Test(i32 15) to label %Continue
+  %retval = invoke coldcc i32 %Testfnptr(i32 15) to label %Continue
               unwind label %TestCleanup              ; {i32}:retval set