Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/NewTypeArray.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 NewTypeArray} class definition. | 31 * The {@code NewTypeArray} class definition. |
36 private static final int INPUT_COUNT = 0; | 35 private static final int INPUT_COUNT = 0; |
37 private static final int SUCCESSOR_COUNT = 0; | 36 private static final int SUCCESSOR_COUNT = 0; |
38 | 37 |
39 final RiType elementType; | 38 final RiType elementType; |
40 | 39 |
41 public NewTypeArray(Value length, RiType elementType, FrameState stateBefore, Graph graph) { | 40 public NewTypeArray(Value length, RiType elementType, Graph graph) { |
42 super(length, stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 41 super(length, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
43 this.elementType = elementType; | 42 this.elementType = elementType; |
44 } | 43 } |
45 | 44 |
46 public CiKind elementKind() { | 45 public CiKind elementKind() { |
47 return elementType.kind(); | 46 return elementType.kind(); |