Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/AccessField.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 |
---|---|
23 package com.sun.c1x.ir; | 23 package com.sun.c1x.ir; |
24 | 24 |
25 import java.lang.reflect.*; | 25 import java.lang.reflect.*; |
26 | 26 |
27 import com.oracle.graal.graph.*; | 27 import com.oracle.graal.graph.*; |
28 import com.sun.c1x.value.*; | |
29 import com.sun.cri.ci.*; | 28 import com.sun.cri.ci.*; |
30 import com.sun.cri.ri.*; | 29 import com.sun.cri.ri.*; |
31 | 30 |
32 /** | 31 /** |
33 * The base class of all instructions that access fields. | 32 * The base class of all instructions that access fields. |
70 * @param stateBefore the state before the field access | 69 * @param stateBefore the state before the field access |
71 * @param inputCount | 70 * @param inputCount |
72 * @param successorCount | 71 * @param successorCount |
73 * @param graph | 72 * @param graph |
74 */ | 73 */ |
75 public AccessField(CiKind kind, Value object, RiField field, FrameState stateAfter, int inputCount, int successorCount, Graph graph) { | 74 public AccessField(CiKind kind, Value object, RiField field, int inputCount, int successorCount, Graph graph) { |
76 super(kind, stateAfter, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); | 75 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); |
77 assert object != null : "every field access must reference some object"; | 76 assert object != null : "every field access must reference some object"; |
78 this.field = field; | 77 this.field = field; |
79 setObject(object); | 78 setObject(object); |
80 } | 79 } |
81 | 80 |