Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/lir/LIRBlock.java @ 2783:9bc0c2eb00d6
Made graph builder removal of BlockBegin work.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 25 May 2011 12:04:58 +0200 |
parents | 93ec3f067420 |
children | aeccd2af4e9e |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/lir/LIRBlock.java Wed May 25 11:15:24 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/lir/LIRBlock.java Wed May 25 12:04:58 2011 +0200 @@ -29,6 +29,7 @@ import com.sun.c1x.debug.*; import com.sun.c1x.ir.*; import com.sun.c1x.util.*; +import com.sun.c1x.value.*; import com.sun.cri.ci.*; /** @@ -39,6 +40,7 @@ public final Label label = new Label(); private LIRList lir; private final int blockID; + private FrameState lastState; private List<Instruction> instructions = new ArrayList<Instruction>(4); private List<LIRBlock> predecessors = new ArrayList<LIRBlock>(4); private List<LIRBlock> successors = new ArrayList<LIRBlock>(4); @@ -265,4 +267,12 @@ } } } + + public void setLastState(FrameState fs) { + lastState = fs; + } + + public FrameState lastState() { + return lastState; + } }