diff graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionObject.java @ 2622:91d3952f7eb7

Framestate work : using stateAFter and reducting the number of nodes with framestates. Intermediate state (does not pass tests)
author Gilles Duboscq <gilles.duboscq@oracle.com>
date Tue, 10 May 2011 12:37:46 +0200
parents 0c6564c254af
children 015be60afcf3
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionObject.java	Tue May 10 11:55:12 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionObject.java	Tue May 10 12:37:46 2011 +0200
@@ -24,7 +24,6 @@
 
 import com.oracle.graal.graph.*;
 import com.sun.c1x.debug.*;
-import com.sun.c1x.value.*;
 import com.sun.cri.ci.*;
 
 /**
@@ -36,24 +35,13 @@
     private static final int SUCCESSOR_COUNT = 0;
 
     /**
-     * Debug info is required if safepoints are placed at exception handlers.
-     */
-    public final FrameState stateBefore;
-
-    /**
      * Constructs a new ExceptionObject instruction.
      * @param stateBefore TODO
      * @param graph
      */
-    public ExceptionObject(FrameState stateBefore, Graph graph) {
+    public ExceptionObject(Graph graph) {
         super(CiKind.Object, INPUT_COUNT, SUCCESSOR_COUNT, graph);
         setFlag(Flag.NonNull);
-        this.stateBefore = stateBefore;
-    }
-
-    @Override
-    public FrameState stateBefore() {
-        return stateBefore;
     }
 
     @Override