1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Structures allow only uint

arrays allow int/uint/long/ulong

llvm-svn: 14629
This commit is contained in:
Chris Lattner 2004-07-05 17:55:28 +00:00
parent f847cbddab
commit dd4054ee31

View File

@ -767,10 +767,9 @@ describes the differences between that version and the one that <i>follows</i>
for accessing a structure field and a long type index for accessing an array
element. Consequently, it was only possible to access structures of 255 or
fewer elements. Starting in version 1.3, this restriction was lifted.
Structures must now be indexed with int or uint types. Arrays must now be
indexed with long or ulong types. This requirement was needed so that LLVM
could compile several test cases that used large numbers of fields in their
structures. The consequence of this was that the bytecode format had to
Structures must now be indexed with uint constants. Arrays may now be
indexed with int, uint, long, or ulong typed values.
The consequence of this was that the bytecode format had to
change in order to accommodate the larger range of structure indices.</p>
</div>