diff options
author | John Criswell <criswell@uiuc.edu> | 2005-05-12 16:55:34 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2005-05-12 16:55:34 +0000 |
commit | dae2e9383b31cb3ff64b3a5c1b6fcd298ce7dff9 (patch) | |
tree | de2f627aca86fadb219d451d69adc38b1e2a0268 /docs/LangRef.html | |
parent | 45982dad53cd184fe8947a1b0206b0b16964f359 (diff) | |
download | external_llvm-dae2e9383b31cb3ff64b3a5c1b6fcd298ce7dff9.zip external_llvm-dae2e9383b31cb3ff64b3a5c1b6fcd298ce7dff9.tar.gz external_llvm-dae2e9383b31cb3ff64b3a5c1b6fcd298ce7dff9.tar.bz2 |
Correct a detail with the alloca instruction.
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
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r-- | docs/LangRef.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index f9b7776..df1ab47 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -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> |