changeset 2836:a75ef246fab3

Removed last usage of anchor in the front-end.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Tue, 31 May 2011 13:41:47 +0200
parents 1cd59ca9ac86
children 7b5831f0e913
files graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java	Tue May 31 13:30:23 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java	Tue May 31 13:41:47 2011 +0200
@@ -396,8 +396,7 @@
             FrameState stateWithException = entryState.duplicateModified(bci, CiKind.Void, currentExceptionObject);
 
             Instruction successor = createTarget(dispatchBlock, stateWithException);
-            Anchor end = new Anchor(successor, graph);
-            currentNext.setNext(end);
+            currentNext.setNext(successor);
             return entry;
         }
         return null;