From d703f65984793c35b1c0dc6d4d2115d237889132 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sun, 16 Mar 2008 07:18:12 +0000 Subject: 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 --- docs/LangRef.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/LangRef.html b/docs/LangRef.html index bacc3a3..f5528b8 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
 
-- cgit v1.1