From 084ab471fe176fb34047b8086c88ba06915d64fa Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sun, 16 Mar 2008 07:18:12 +0000 Subject: [PATCH] Commit works on regular functions too. Fix the syntax to allow @foo. llvm-svn: 48414 --- llvm/docs/LangRef.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index bacc3a3fa060..f5528b86ca93 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/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