comparison graal/GraalCompiler/src/com/sun/c1x/ir/LoadIndexed.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 37f067e76c6f
comparison
equal deleted inserted replaced
2623:b129b7da1397 2628:569228710be8
22 */ 22 */
23 package com.sun.c1x.ir; 23 package com.sun.c1x.ir;
24 24
25 import com.oracle.graal.graph.*; 25 import com.oracle.graal.graph.*;
26 import com.sun.c1x.debug.*; 26 import com.sun.c1x.debug.*;
27 import com.sun.c1x.value.*;
28 import com.sun.cri.ci.*; 27 import com.sun.cri.ci.*;
29 import com.sun.cri.ri.*; 28 import com.sun.cri.ri.*;
30 29
31 /** 30 /**
32 * The {@code LoadIndexed} instruction represents a read from an element of an array. 31 * The {@code LoadIndexed} instruction represents a read from an element of an array.
43 * @param length the instruction producing the length 42 * @param length the instruction producing the length
44 * @param elementType the element type 43 * @param elementType the element type
45 * @param stateAfter the after before executing this instruction 44 * @param stateAfter the after before executing this instruction
46 * @param graph 45 * @param graph
47 */ 46 */
48 public LoadIndexed(Value array, Value index, Value length, CiKind elementType, FrameState stateAfter, Graph graph) { 47 public LoadIndexed(Value array, Value index, Value length, CiKind elementType, Graph graph) {
49 super(elementType.stackKind(), array, index, length, elementType, stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph); 48 super(elementType.stackKind(), array, index, length, elementType, INPUT_COUNT, SUCCESSOR_COUNT, graph);
50 } 49 }
51 50
52 /** 51 /**
53 * Gets the declared type of this instruction's result. 52 * Gets the declared type of this instruction's result.
54 * @return the declared type 53 * @return the declared type