Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/LoadIndexed.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 | 092e628ddd5d |
children | 569228710be8 |
comparison
equal
deleted
inserted
replaced
2621:dd115f80acf8 | 2622:91d3952f7eb7 |
---|---|
40 * Creates a new LoadIndexed instruction. | 40 * Creates a new LoadIndexed instruction. |
41 * @param array the instruction producing the array | 41 * @param array the instruction producing the array |
42 * @param index the instruction producing the index | 42 * @param index the instruction producing the index |
43 * @param length the instruction producing the length | 43 * @param length the instruction producing the length |
44 * @param elementType the element type | 44 * @param elementType the element type |
45 * @param stateBefore the state before executing this instruction | 45 * @param stateAfter the after before executing this instruction |
46 * @param graph | 46 * @param graph |
47 */ | 47 */ |
48 public LoadIndexed(Value array, Value index, Value length, CiKind elementType, FrameState stateBefore, Graph graph) { | 48 public LoadIndexed(Value array, Value index, Value length, CiKind elementType, FrameState stateAfter, Graph graph) { |
49 super(elementType.stackKind(), array, index, length, elementType, stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 49 super(elementType.stackKind(), array, index, length, elementType, stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
50 } | 50 } |
51 | 51 |
52 /** | 52 /** |
53 * Gets the declared type of this instruction's result. | 53 * Gets the declared type of this instruction's result. |
54 * @return the declared type | 54 * @return the declared type |