comparison graal/GraalCompiler/src/com/sun/c1x/ir/AccessIndexed.java @ 2827:bd17ac598c6e

Graph cloning, initial version (not completely working)
author Lukas Stadler <lukas.stadler@jku.at>
date Mon, 30 May 2011 18:46:57 +0200
parents 4a6518c4d17d
children
comparison
equal deleted inserted replaced
2821:015be60afcf3 2827:bd17ac598c6e
75 * Create an new AccessIndexed instruction. 75 * Create an new AccessIndexed instruction.
76 * @param kind the result kind of the access 76 * @param kind the result kind of the access
77 * @param array the instruction producing the array 77 * @param array the instruction producing the array
78 * @param index the instruction producing the index 78 * @param index the instruction producing the index
79 * @param length the instruction producing the length (used in bounds check elimination?) 79 * @param length the instruction producing the length (used in bounds check elimination?)
80 * @param elementType the type of the elements of the array 80 * @param elementKind the type of the elements of the array
81 * @param stateBefore the state before executing this instruction 81 * @param stateBefore the state before executing this instruction
82 * @param inputCount 82 * @param inputCount
83 * @param successorCount 83 * @param successorCount
84 * @param graph 84 * @param graph
85 */ 85 */
86 AccessIndexed(CiKind kind, Value array, Value index, Value length, CiKind elementType, int inputCount, int successorCount, Graph graph) { 86 AccessIndexed(CiKind kind, Value array, Value index, Value length, CiKind elementKind, int inputCount, int successorCount, Graph graph) {
87 super(kind, array, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); 87 super(kind, array, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph);
88 setIndex(index); 88 setIndex(index);
89 setLength(length); 89 setLength(length);
90 this.elementType = elementType; 90 this.elementType = elementKind;
91 } 91 }
92 92
93 /** 93 /**
94 * Gets the element type of the array. 94 * Gets the element type of the array.
95 * @return the element type 95 * @return the element type