comparison graal/GraalCompiler/src/com/sun/c1x/ir/NewObjectArray.java @ 2834:bfce42cd9c07

Graph duplication now passes all tests
author Lukas Stadler <lukas.stadler@jku.at>
date Tue, 31 May 2011 13:34:52 +0200
parents bd17ac598c6e
children 14708c03abba
comparison
equal deleted inserted replaced
2829:27c00b180416 2834:bfce42cd9c07
39 39
40 /** 40 /**
41 * Constructs a new NewObjectArray instruction. 41 * Constructs a new NewObjectArray instruction.
42 * @param elementClass the class of elements in this array 42 * @param elementClass the class of elements in this array
43 * @param length the instruction producing the length of the array 43 * @param length the instruction producing the length of the array
44 * @param stateBefore the state before the allocation
45 * @param graph 44 * @param graph
46 */ 45 */
47 public NewObjectArray(RiType elementClass, Value length, Graph graph) { 46 public NewObjectArray(RiType elementClass, Value length, Graph graph) {
48 super(length, INPUT_COUNT, SUCCESSOR_COUNT, graph); 47 super(length, INPUT_COUNT, SUCCESSOR_COUNT, graph);
49 this.elementClass = elementClass; 48 this.elementClass = elementClass;