changeset 19937:f599ac162bb7

CanonicalizerPhase: can not use Debug.handle without a corresponding scope/sandbox
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Wed, 18 Mar 2015 15:51:15 +0100
parents 6303a7a525c5
children c7caa3f463e3
files graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java	Wed Mar 18 15:14:27 2015 +0100
+++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java	Wed Mar 18 15:51:15 2015 +0100
@@ -260,7 +260,7 @@
                         canonical = ((BinaryCommutative<?>) node).maybeCommuteInputs();
                     }
                 } catch (Throwable e) {
-                    throw Debug.handle(e);
+                    throw new RuntimeException(e);
                 }
                 if (performReplacement(node, canonical)) {
                     return true;