Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/LoadField.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 |
---|---|
39 /** | 39 /** |
40 * Creates a new LoadField instance. | 40 * Creates a new LoadField instance. |
41 * @param object the receiver object | 41 * @param object the receiver object |
42 * @param field the compiler interface field | 42 * @param field the compiler interface field |
43 * @param isStatic indicates if the field is static | 43 * @param isStatic indicates if the field is static |
44 * @param stateBefore the state before the field access | 44 * @param stateAfter the state after the field access |
45 * @param graph | 45 * @param graph |
46 * @param isLoaded indicates if the class is loaded | 46 * @param isLoaded indicates if the class is loaded |
47 */ | 47 */ |
48 public LoadField(Value object, RiField field, FrameState stateBefore, Graph graph) { | 48 public LoadField(Value object, RiField field, FrameState stateAfter, Graph graph) { |
49 super(field.kind().stackKind(), object, field, stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 49 super(field.kind().stackKind(), object, field, stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
50 } | 50 } |
51 | 51 |
52 /** | 52 /** |
53 * Gets the declared type of the field being accessed. | 53 * Gets the declared type of the field being accessed. |
54 * @return the declared type of the field being accessed. | 54 * @return the declared type of the field being accessed. |