diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-23 21:53:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-23 21:53:15 +0000 |
commit | c4b49eb9857968d987aa853da02b45656c2a5bb1 (patch) | |
tree | 16128fa5dc73847547a9facf8a3cd6a4f81cbff6 /docs | |
parent | 80f0f616e846a2720c1c9be4036da3434febdadf (diff) | |
download | llvm-c4b49eb9857968d987aa853da02b45656c2a5bb1.tar.gz llvm-c4b49eb9857968d987aa853da02b45656c2a5bb1.tar.bz2 llvm-c4b49eb9857968d987aa853da02b45656c2a5bb1.tar.xz |
Update the description of first-class types to reflect that
structs and arrays are now first-class. And fix a sentance
fragment in the insertvalue description. Thanks to Chris
for pointing these out!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 59d6581ce2..0fcc26313e 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1066,8 +1066,7 @@ classifications:</p> <p>The <a href="#t_firstclass">first class</a> types are perhaps the most important. Values of these types are the only ones which can be produced by instructions, passed as arguments, or used as operands to -instructions. This means that all structures and arrays must be -manipulated either by pointer or by component.</p> +instructions.</p> </div> <!-- ======================================================================= --> @@ -2956,7 +2955,7 @@ into a struct field or array element in an aggregate. The first operand of an '<tt>insertvalue</tt>' instruction is a value of <a href="#t_struct">struct</a> or <a href="#t_array">array</a> type. The second operand is a first-class value to insert. -type of the first operand. The following operands are constant indices +The following operands are constant indices indicating the position at which to insert the value in the same manner as indices in a '<tt><a href="#i_getelementptr">getelementptr</a></tt>' instruction. |