diff graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/GraphOrder.java @ 15035:bfad6492cce9

re-enable graph ordering assertion
author Lukas Stadler <lukas.stadler@oracle.com>
date Wed, 09 Apr 2014 13:22:44 +0200
parents 06e50d290784
children 1bf700e19e84
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/GraphOrder.java	Tue Apr 08 18:40:02 2014 +0200
+++ b/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/GraphOrder.java	Wed Apr 09 13:22:44 2014 +0200
@@ -61,13 +61,7 @@
                         if (input instanceof FrameState && node instanceof StateSplit && input == ((StateSplit) node).stateAfter()) {
                             // nothing to do - after frame states are known, allowed cycles
                         } else {
-                            /*
-                             * TODO assertion does not hold for Substrate VM (in general for all
-                             * notDataflow inputs)
-                             * 
-                             * assert false : "unexpected cycle detected at input " + node + " -> "
-                             * + input;
-                             */
+                            assert false : "unexpected cycle detected at input " + node + " -> " + input;
                         }
                     }
                 }