Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/Unwind.java @ 2751:0fe79e7435c3
More scheduling. Removed need for cfg iteration in the phi simplifier.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Fri, 20 May 2011 14:22:22 +0200 |
parents | a0dd2b907806 |
children | 93fd92c9f8b0 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Unwind.java Fri May 20 12:08:58 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Unwind.java Fri May 20 14:22:22 2011 +0200 @@ -34,7 +34,8 @@ private static final int INPUT_COUNT = 1; private static final int INPUT_EXCEPTION = 0; - private static final int SUCCESSOR_COUNT = 0; + private static final int SUCCESSOR_COUNT = 1; + private static final int SUCCESSOR_END = 0; @Override protected int inputCount() { @@ -46,6 +47,11 @@ return super.successorCount() + SUCCESSOR_COUNT; } + @Override + public Instruction next() { + return null; + } + /** * The instruction that produces the exception object. */ @@ -61,6 +67,7 @@ public Unwind(Value exception, Graph graph) { super(CiKind.Object, null, 0, INPUT_COUNT, SUCCESSOR_COUNT, graph); setException(exception); + successors().set(SUCCESSOR_END, graph.end()); } @Override