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!

llvm-svn: 51506
This commit is contained in:
Dan Gohman 2008-05-23 21:53:15 +00:00
parent abbe3d47ab
commit 3f8bacf8cf

View File

@ -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.