# HG changeset patch # User Thomas Wuerthinger # Date 1421769278 -3600 # Node ID 0607cc136dd565a2fa2afa2f25befe0cf2817d91 # Parent 51680f58e681e7fd7dee41ec5060814cb64d392d Remove GraphBuilderPhase#finishPrepare. diff -r 51680f58e681 -r 0607cc136dd5 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/DefaultHotSpotLoweringProvider.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/DefaultHotSpotLoweringProvider.java Tue Jan 20 16:40:45 2015 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/DefaultHotSpotLoweringProvider.java Tue Jan 20 16:54:38 2015 +0100 @@ -41,7 +41,6 @@ import com.oracle.graal.hotspot.nodes.type.*; import com.oracle.graal.hotspot.replacements.*; import com.oracle.graal.hotspot.replacements.arraycopy.*; -import com.oracle.graal.java.*; import com.oracle.graal.nodes.*; import com.oracle.graal.nodes.HeapAccess.BarrierType; import com.oracle.graal.nodes.calc.*; diff -r 51680f58e681 -r 0607cc136dd5 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/TailcallNode.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/TailcallNode.java Tue Jan 20 16:40:45 2015 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/TailcallNode.java Tue Jan 20 16:54:38 2015 +0100 @@ -30,7 +30,6 @@ import com.oracle.graal.api.meta.*; import com.oracle.graal.compiler.common.type.*; import com.oracle.graal.hotspot.*; -import com.oracle.graal.java.*; import com.oracle.graal.lir.gen.*; import com.oracle.graal.nodeinfo.*; import com.oracle.graal.nodes.*; diff -r 51680f58e681 -r 0607cc136dd5 graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java --- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue Jan 20 16:40:45 2015 +0100 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue Jan 20 16:54:38 2015 +0100 @@ -196,7 +196,6 @@ frameState.clearNonLiveLocals(blockMap.startBlock, liveness, true); assert bci() == 0; ((StateSplit) lastInstr).setStateAfter(frameState.create(bci())); - finishPrepare(lastInstr); if (graphBuilderConfig.insertNonSafepointDebugInfo()) { InfopointNode ipn = currentGraph.add(createInfoPointNode(InfopointReason.METHOD_START)); @@ -237,15 +236,6 @@ } } - /** - * A hook for derived classes to modify the graph start instruction or append new - * instructions to it. - * - * @param startInstr The start instruction of the graph. - */ - protected void finishPrepare(FixedWithNextNode startInstr) { - } - private BciBlock unwindBlock() { if (unwindBlock == null) { unwindBlock = new ExceptionDispatchBlock();