Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/AccessIndexed.java @ 2628:569228710be8
More FrameState work
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 10 May 2011 16:49:50 +0200 |
parents | 91d3952f7eb7 |
children | 4a6518c4d17d |
comparison
equal
deleted
inserted
replaced
2623:b129b7da1397 | 2628:569228710be8 |
---|---|
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.sun.c1x.ir; | 23 package com.sun.c1x.ir; |
24 | 24 |
25 import com.oracle.graal.graph.*; | 25 import com.oracle.graal.graph.*; |
26 import com.sun.c1x.value.*; | |
27 import com.sun.cri.ci.*; | 26 import com.sun.cri.ci.*; |
28 | 27 |
29 /** | 28 /** |
30 * The {@code AccessIndexed} class is the base class of instructions that read or write | 29 * The {@code AccessIndexed} class is the base class of instructions that read or write |
31 * elements of an array. | 30 * elements of an array. |
84 * @param stateBefore the state before executing this instruction | 83 * @param stateBefore the state before executing this instruction |
85 * @param inputCount | 84 * @param inputCount |
86 * @param successorCount | 85 * @param successorCount |
87 * @param graph | 86 * @param graph |
88 */ | 87 */ |
89 AccessIndexed(CiKind kind, Value array, Value index, Value length, CiKind elementType, FrameState stateAfter, int inputCount, int successorCount, Graph graph) { | 88 AccessIndexed(CiKind kind, Value array, Value index, Value length, CiKind elementType, int inputCount, int successorCount, Graph graph) { |
90 super(kind, array, stateAfter, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); | 89 super(kind, array, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); |
91 setIndex(index); | 90 setIndex(index); |
92 setLength(length); | 91 setLength(length); |
93 this.elementType = elementType; | 92 this.elementType = elementType; |
94 } | 93 } |
95 | 94 |