Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/NewMultiArray.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 | f1bc67c2d453 |
children | bd17ac598c6e |
comparison
equal
deleted
inserted
replaced
2621:dd115f80acf8 | 2622:91d3952f7eb7 |
---|---|
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.debug.*; | 26 import com.sun.c1x.debug.*; |
27 import com.sun.c1x.value.*; | |
28 import com.sun.cri.ci.*; | 27 import com.sun.cri.ci.*; |
29 import com.sun.cri.ri.*; | 28 import com.sun.cri.ri.*; |
30 | 29 |
31 /** | 30 /** |
32 * The {@code NewMultiArray} instruction represents an allocation of a multi-dimensional object | 31 * The {@code NewMultiArray} instruction represents an allocation of a multi-dimensional object |
79 * @param stateBefore the state before this instruction | 78 * @param stateBefore the state before this instruction |
80 * @param cpi the constant pool index for resolution | 79 * @param cpi the constant pool index for resolution |
81 * @param riConstantPool the constant pool for resolution | 80 * @param riConstantPool the constant pool for resolution |
82 * @param graph | 81 * @param graph |
83 */ | 82 */ |
84 public NewMultiArray(RiType elementKind, Value[] dimensions, FrameState stateBefore, int cpi, RiConstantPool riConstantPool, Graph graph) { | 83 public NewMultiArray(RiType elementKind, Value[] dimensions, int cpi, RiConstantPool riConstantPool, Graph graph) { |
85 super(null, stateBefore, dimensions.length, SUCCESSOR_COUNT, graph); | 84 super(null, dimensions.length, SUCCESSOR_COUNT, graph); |
86 this.constantPool = riConstantPool; | 85 this.constantPool = riConstantPool; |
87 this.elementKind = elementKind; | 86 this.elementKind = elementKind; |
88 this.cpi = cpi; | 87 this.cpi = cpi; |
89 | 88 |
90 this.dimensionCount = dimensions.length; | 89 this.dimensionCount = dimensions.length; |