comparison graal/GraalCompiler/src/com/sun/c1x/ir/StoreField.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 import com.sun.cri.ri.*; 28 import com.sun.cri.ri.*;
30 29
31 /** 30 /**
32 * The {@code StoreField} instruction represents a write to a static or instance field. 31 * The {@code StoreField} instruction represents a write to a static or instance field.
65 * @param field the compiler interface field 64 * @param field the compiler interface field
66 * @param value the instruction representing the value to store to the field 65 * @param value the instruction representing the value to store to the field
67 * @param stateAfter the state after the field access 66 * @param stateAfter the state after the field access
68 * @param graph 67 * @param graph
69 */ 68 */
70 public StoreField(Value object, RiField field, Value value, FrameState stateAfter, Graph graph) { 69 public StoreField(Value object, RiField field, Value value, Graph graph) {
71 super(CiKind.Void, object, field, stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph); 70 super(CiKind.Void, object, field, INPUT_COUNT, SUCCESSOR_COUNT, graph);
72 setValue(value); 71 setValue(value);
73 } 72 }
74 73
75 @Override 74 @Override
76 public void accept(ValueVisitor v) { 75 public void accept(ValueVisitor v) {