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