Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/StoreIndexed.java @ 2628:569228710be8
More FrameState work
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 10 May 2011 16:49:50 +0200 |
parents | 91d3952f7eb7 |
children | bd17ac598c6e |
comparison
equal
deleted
inserted
replaced
2623:b129b7da1397 | 2628:569228710be8 |
---|---|
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 | 28 |
30 /** | 29 /** |
31 * The {@code StoreIndexed} instruction represents a write to an array element. | 30 * The {@code StoreIndexed} instruction represents a write to an array element. |
32 */ | 31 */ |
66 * @param elementType the element type | 65 * @param elementType the element type |
67 * @param value the value to store into the array | 66 * @param value the value to store into the array |
68 * @param stateAfter the state after executing this instruction | 67 * @param stateAfter the state after executing this instruction |
69 * @param graph | 68 * @param graph |
70 */ | 69 */ |
71 public StoreIndexed(Value array, Value index, Value length, CiKind elementType, Value value, FrameState stateAfter, Graph graph) { | 70 public StoreIndexed(Value array, Value index, Value length, CiKind elementType, Value value, Graph graph) { |
72 super(CiKind.Void, array, index, length, elementType, stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 71 super(CiKind.Void, array, index, length, elementType, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
73 setValue(value); | 72 setValue(value); |
74 } | 73 } |
75 | 74 |
76 @Override | 75 @Override |
77 public void accept(ValueVisitor v) { | 76 public void accept(ValueVisitor v) { |