summaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-05 10:27:44 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-05 10:27:44 +0000
commit1f9f91eea15e98af0a642e8fa8ac63c76b2a09b3 (patch)
tree0bc056d61a17eaf7666c94f254d28e9a264ee5cc /gcc/tree.def
parentd2b79698ed71bf318fcf9aafa8a4dd0d903bf317 (diff)
downloadgcc-1f9f91eea15e98af0a642e8fa8ac63c76b2a09b3.tar.gz
Update comments for ARRAY_RANGE_REF
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42901 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index fe1fddb7e39..198cdf5f38d 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -374,9 +374,9 @@ DEFTREECODE (BUFFER_REF, "buffer_ref", 'r', 1)
Operand 0 is the array; operand 1 is a (single) array index. */
DEFTREECODE (ARRAY_REF, "array_ref", 'r', 2)
-/* Likewise, except that the result is a range of the array. The starting
- index of the array is taken from operand 0 and the size of the range
- is taken from the type of the expression. */
+/* Likewise, except that the result is a range ("slice") of the array. The
+ starting index of the resulting array is taken from operand 1 and the size
+ of the range is taken from the type of the expression. */
DEFTREECODE (ARRAY_RANGE_REF, "array_range_ref", 'r', 2)
/* Constructor: return an aggregate value made from specified components.