diff graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2543:c58a301eb2d7

Clean up on canTrap.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 21:22:10 +0200
parents 3fc322165071
children 491896f81cae
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java	Wed Apr 27 20:58:01 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java	Wed Apr 27 21:22:10 2011 +0200
@@ -1272,7 +1272,7 @@
 
         if (x instanceof StateSplit) {
             StateSplit stateSplit = (StateSplit) x;
-            if (!stateSplit.isStateCleared() && stateSplit.stateBefore() == null) {
+            if (stateSplit.stateBefore() == null) {
                 stateSplit.setStateBefore(curState.immutableCopy(bci));
             }
         }