comparison graal/GraalCompiler/src/com/sun/c1x/ir/LoadField.java @ 2538:e1ba5a93e997

Clean up on Value class and LIRGenerator/LIRItem-related things.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 20:13:54 +0200
parents c480605ef068
children 3fc322165071
comparison
equal deleted inserted replaced
2537:4a016ff4d2df 2538:e1ba5a93e997
27 import com.sun.cri.ci.*; 27 import com.sun.cri.ci.*;
28 import com.sun.cri.ri.*; 28 import com.sun.cri.ri.*;
29 29
30 /** 30 /**
31 * The {@code LoadField} instruction represents a read of a static or instance field. 31 * The {@code LoadField} instruction represents a read of a static or instance field.
32 *
33 * @author Ben L. Titzer
34 */ 32 */
35 public final class LoadField extends AccessField { 33 public final class LoadField extends AccessField {
36 34
37 /** 35 /**
38 * Creates a new LoadField instance. 36 * Creates a new LoadField instance.
40 * @param field the compiler interface field 38 * @param field the compiler interface field
41 * @param isStatic indicates if the field is static 39 * @param isStatic indicates if the field is static
42 * @param stateBefore the state before the field access 40 * @param stateBefore the state before the field access
43 * @param isLoaded indicates if the class is loaded 41 * @param isLoaded indicates if the class is loaded
44 */ 42 */
45 public LoadField(Value object, RiField field, boolean isStatic, FrameState stateBefore, boolean isLoaded) { 43 public LoadField(Value object, RiField field, FrameState stateBefore, boolean isLoaded) {
46 super(field.kind().stackKind(), object, field, isStatic, stateBefore, isLoaded); 44 super(field.kind().stackKind(), object, field, stateBefore, isLoaded);
47 } 45 }
48 46
49 /** 47 /**
50 * Gets the declared type of the field being accessed. 48 * Gets the declared type of the field being accessed.
51 * @return the declared type of the field being accessed. 49 * @return the declared type of the field being accessed.