Correct a detail with the alloca instruction.

Functions do not exit with invoke; they exit with unwind.

llvm-svn: 21893
This commit is contained in:
John Criswell 2005-05-12 16:55:34 +00:00
parent b5a78e0873
commit c932bef114
1 changed files with 1 additions and 1 deletions

View 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>