comparison graal/GraalCompiler/src/com/sun/c1x/ir/AccessField.java @ 2848:c061a6be3728

merge
author Gilles Duboscq <gilles.duboscq@oracle.com>
date Tue, 31 May 2011 15:19:30 +0200
parents bfce42cd9c07
children
comparison
equal deleted inserted replaced
2847:caf55daa41dc 2848:c061a6be3728
64 /** 64 /**
65 * Constructs a new access field object. 65 * Constructs a new access field object.
66 * @param kind the result kind of the access 66 * @param kind the result kind of the access
67 * @param object the instruction producing the receiver object 67 * @param object the instruction producing the receiver object
68 * @param field the compiler interface representation of the field 68 * @param field the compiler interface representation of the field
69 * @param stateBefore the state before the field access
70 * @param inputCount 69 * @param inputCount
71 * @param successorCount 70 * @param successorCount
72 * @param graph 71 * @param graph
73 */ 72 */
74 public AccessField(CiKind kind, Value object, RiField field, int inputCount, int successorCount, Graph graph) { 73 public AccessField(CiKind kind, Value object, RiField field, int inputCount, int successorCount, Graph graph) {
75 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); 74 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph);
76 // assert object != null : "every field access must reference some object";
77 this.field = field; 75 this.field = field;
78 setObject(object); 76 setObject(object);
79 } 77 }
80 78
81 /** 79 /**