Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.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 | 3558ca7088c0 |
children | 62ff4a70f07e |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java Tue May 10 11:55:12 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java Tue May 10 12:37:46 2011 +0200 @@ -237,10 +237,6 @@ */ public final void allValuesDo(ValueClosure closure) { inputValuesDo(closure); - FrameState stateBefore = stateBefore(); - if (stateBefore != null) { - stateBefore.inputValuesDo(closure); - } FrameState stateAfter = stateAfter(); if (stateAfter != null) { stateAfter.inputValuesDo(closure); @@ -248,14 +244,6 @@ } /** - * Gets the state before the instruction, if it is recorded. - * @return the state before the instruction - */ - public FrameState stateBefore() { - return null; - } - - /** * Gets the state after the instruction, if it is recorded. Typically only * instances of {@link BlockEnd} have a non-null state after. * @return the state after the instruction