Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/value/FrameState.java @ 2793:d3fc4fe063bf
Rename BlockBegin to Merge, remove some Block related member from it. Made CFGPrinter work with the Block class from schedule
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 27 May 2011 11:08:55 +0200 |
parents | 398b8fa5dc81 |
children | e1dad0edd57a |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/value/FrameState.java Thu May 26 11:55:16 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/value/FrameState.java Fri May 27 11:08:55 2011 +0200 @@ -258,7 +258,7 @@ * @param block the block begin for which we are creating the phi * @param i the index into the stack for which to create a phi */ - public Phi setupPhiForStack(BlockBegin block, int i) { + public Phi setupPhiForStack(Merge block, int i) { Value p = stackAt(i); if (p != null) { if (p instanceof Phi) { @@ -279,7 +279,7 @@ * @param block the block begin for which we are creating the phi * @param i the index of the local variable for which to create the phi */ - public Phi setupPhiForLocal(BlockBegin block, int i) { + public Phi setupPhiForLocal(Merge block, int i) { Value p = localAt(i); if (p instanceof Phi) { Phi phi = (Phi) p; @@ -327,7 +327,7 @@ } } - public void merge(BlockBegin block, FrameStateAccess other) { + public void merge(Merge block, FrameStateAccess other) { checkSize(other); for (int i = 0; i < valuesSize(); i++) { Value x = valueAt(i); @@ -379,8 +379,8 @@ /** - * The interface implemented by a client of {@link FrameState#forEachPhi(BlockBegin, PhiProcedure)} and - * {@link FrameState#forEachLivePhi(BlockBegin, PhiProcedure)}. + * The interface implemented by a client of {@link FrameState#forEachPhi(Merge, PhiProcedure)} and + * {@link FrameState#forEachLivePhi(Merge, PhiProcedure)}. */ public static interface PhiProcedure { boolean doPhi(Phi phi); @@ -441,7 +441,7 @@ } @Override - public BlockBegin block() { + public Merge block() { return null; }