From 7c66ab3747673982db7d7f881890972753fae46c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 5 Jul 2004 17:55:28 +0000 Subject: [PATCH] Structures allow only uint arrays allow int/uint/long/ulong git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14629 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/BytecodeFormat.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/BytecodeFormat.html b/docs/BytecodeFormat.html index ab93c1a4386..71a0e9351fb 100644 --- a/docs/BytecodeFormat.html +++ b/docs/BytecodeFormat.html @@ -767,10 +767,9 @@ describes the differences between that version and the one that follows 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.

-- 2.34.1