Correct a detail with the alloca instruction.
authorJohn Criswell <criswell@uiuc.edu>
Thu, 12 May 2005 16:55:34 +0000 (16:55 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Thu, 12 May 2005 16:55:34 +0000 (16:55 +0000)
Functions do not exit with invoke; they exit with unwind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21893 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index f9b777617f23fd425c3b3ea9697f166df6c4530b..df1ab479af2cd862a11d2667b6847770106e5075 100644 (file)
@@ -1837,7 +1837,7 @@ a shorter version of the first that defaults to allocating one element.</p>
 memory is automatically released when the function returns.  The '<tt>alloca</tt>'
 instruction is commonly used to represent automatic variables that must
 have an address available.  When the function returns (either with the <tt><a
- href="#i_ret">ret</a></tt> or <tt><a href="#i_invoke">invoke</a></tt>
+ href="#i_ret">ret</a></tt> or <tt><a href="#i_unwind">unwind</a></tt>
 instructions), the memory is reclaimed.</p>
 <h5>Example:</h5>
 <pre>  %ptr = alloca int                              <i>; yields {int*}:ptr</i>