From: John Criswell
Date: Thu, 12 May 2005 16:55:34 +0000 (+0000)
Subject: Correct a detail with the alloca instruction.
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dae2e9383b31cb3ff64b3a5c1b6fcd298ce7dff9;p=oota-llvm.git
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
---
diff --git a/docs/LangRef.html b/docs/LangRef.html
index f9b777617f2..df1ab479af2 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.
memory is automatically released when the function returns. The 'alloca'
instruction is commonly used to represent automatic variables that must
have an address available. When the function returns (either with the ret or invoke
+ href="#i_ret">ret or unwind
instructions), the memory is reclaimed.
Example:
%ptr = alloca int ; yields {int*}:ptr