Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/ir/LoadIndexed.java @ 2592:fec99fc30af1
checkstyle fixes, updated AccessArray + subclasses
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 05 May 2011 15:23:07 +0200 |
parents | 16b9a8b5ad39 |
children | 092e628ddd5d |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/LoadIndexed.java Thu May 05 15:01:34 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/LoadIndexed.java Thu May 05 15:23:07 2011 +0200 @@ -22,6 +22,7 @@ */ package com.sun.c1x.ir; +import com.oracle.graal.graph.*; import com.sun.c1x.debug.*; import com.sun.c1x.value.*; import com.sun.cri.ci.*; @@ -34,6 +35,9 @@ */ public final class LoadIndexed extends AccessIndexed { + private static final int INPUT_COUNT = 0; + private static final int SUCCESSOR_COUNT = 0; + /** * Creates a new LoadIndexed instruction. * @param array the instruction producing the array @@ -41,9 +45,10 @@ * @param length the instruction producing the length * @param elementType the element type * @param stateBefore the state before executing this instruction + * @param graph */ - public LoadIndexed(Value array, Value index, Value length, CiKind elementType, FrameState stateBefore) { - super(elementType.stackKind(), array, index, length, elementType, stateBefore); + public LoadIndexed(Value array, Value index, Value length, CiKind elementType, FrameState stateBefore, Graph graph) { + super(elementType.stackKind(), array, index, length, elementType, stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); } /**