diff graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java @ 2625:62ff4a70f07e

merge
author Lukas Stadler <lukas.stadler@jku.at>
date Tue, 10 May 2011 14:39:54 +0200
parents 8e44074058af 91d3952f7eb7
children 4dd0573f510b
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java	Tue May 10 14:29:40 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java	Tue May 10 14:39:54 2011 +0200
@@ -60,7 +60,6 @@
     /**
      * The frame state before execution of the first instruction in this block.
      */
-     @Override
     public FrameState stateBefore() {
         return (FrameState) inputs().get(super.inputCount() + INPUT_STATE_BEFORE);
     }
@@ -125,6 +124,8 @@
      */
     private int blockFlags;
 
+    private FrameState stateAfter;
+
     /**
      * The {@link BlockBegin} nodes for which this node is a successor.
      */
@@ -214,6 +215,15 @@
         return loopIndex;
     }
 
+    public void setStateAfter(FrameState stateAfter) {
+        this.stateAfter = stateAfter;
+    }
+
+    @Override
+    public FrameState stateAfter() {
+        return stateAfter;
+    }
+
     /**
      * Gets the exception handlers that cover one or more instructions of this basic block.
      *