comparison graal/GraalCompiler/src/com/sun/c1x/ir/StoreField.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 4a4dab936c1e
children 569228710be8
comparison
equal deleted inserted replaced
2621:dd115f80acf8 2622:91d3952f7eb7
62 /** 62 /**
63 * Creates a new LoadField instance. 63 * Creates a new LoadField instance.
64 * @param object the receiver object 64 * @param object the receiver object
65 * @param field the compiler interface field 65 * @param field the compiler interface field
66 * @param value the instruction representing the value to store to the field 66 * @param value the instruction representing the value to store to the field
67 * @param stateBefore the state before the field access 67 * @param stateAfter the state after the field access
68 * @param graph 68 * @param graph
69 */ 69 */
70 public StoreField(Value object, RiField field, Value value, FrameState stateBefore, Graph graph) { 70 public StoreField(Value object, RiField field, Value value, FrameState stateAfter, Graph graph) {
71 super(CiKind.Void, object, field, stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); 71 super(CiKind.Void, object, field, stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph);
72 setValue(value); 72 setValue(value);
73 } 73 }
74 74
75 @Override 75 @Override
76 public void accept(ValueVisitor v) { 76 public void accept(ValueVisitor v) {