diff graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java @ 2726:819a40e46826

Clean up
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 19 May 2011 17:02:12 +0200
parents e2d20fc3760f
children 1ddcbcd33325
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java	Thu May 19 16:56:05 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java	Thu May 19 17:02:12 2011 +0200
@@ -74,8 +74,6 @@
         successors().set(super.successorCount() + SUCCESSOR_END, end);
     }
 
-    private static final List<BlockBegin> NO_HANDLERS = Collections.emptyList();
-
     /**
      * A unique id used in tracing.
      */
@@ -96,6 +94,10 @@
         this.lirBlock = block;
     }
 
+    public LIRBlock lirBlock() {
+        return lirBlock;
+    }
+
     /**
      * Index of bytecode that generated this node when appended in a basic block.
      * Negative values indicate special cases.
@@ -409,30 +411,10 @@
         }
     }
 
-    /**
-     * @return the label associated with the block, used by the LIR
-     */
-    public Label label() {
-        return lirBlock().label;
-    }
-
-    public LIRList lir() {
-        return lirBlock().lir();
-    }
-
-    public LIRBlock lirBlock() {
-        return lirBlock;
-    }
-
     public Instruction predAt(int j) {
         return (Instruction) predecessors().get(j);
     }
 
-
-    public boolean isPredecessor(Instruction block) {
-        return predecessors().contains(block);
-    }
-
     public void printWithoutPhis(LogStream out) {
         // print block id
         BlockEnd end = end();
@@ -540,8 +522,6 @@
 
     }
 
-
-
     /**
      * Determines if a given instruction is a phi whose {@linkplain Phi#block() join block} is a given block.
      *
@@ -614,6 +594,4 @@
             }
         }
     }
-
-
 }