Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/AccessIndexed.java @ 2622:91d3952f7eb7
Framestate work : using stateAFter and reducting the number of nodes with framestates. Intermediate state (does not pass tests)
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 10 May 2011 12:37:46 +0200 |
parents | fec99fc30af1 |
children | 569228710be8 |
comparison
equal
deleted
inserted
replaced
2621:dd115f80acf8 | 2622:91d3952f7eb7 |
---|---|
84 * @param stateBefore the state before executing this instruction | 84 * @param stateBefore the state before executing this instruction |
85 * @param inputCount | 85 * @param inputCount |
86 * @param successorCount | 86 * @param successorCount |
87 * @param graph | 87 * @param graph |
88 */ | 88 */ |
89 AccessIndexed(CiKind kind, Value array, Value index, Value length, CiKind elementType, FrameState stateBefore, int inputCount, int successorCount, Graph graph) { | 89 AccessIndexed(CiKind kind, Value array, Value index, Value length, CiKind elementType, FrameState stateAfter, int inputCount, int successorCount, Graph graph) { |
90 super(kind, array, stateBefore, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); | 90 super(kind, array, stateAfter, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); |
91 setIndex(index); | 91 setIndex(index); |
92 setLength(length); | 92 setLength(length); |
93 this.elementType = elementType; | 93 this.elementType = elementType; |
94 } | 94 } |
95 | 95 |