changeset 14638:b2e2132c0eff

fixed null phase names in IGV
author Doug Simon <doug.simon@oracle.com>
date Thu, 20 Mar 2014 13:53:36 +0100
parents 04e317d1daa4
children 0f82263406e0 f0bb82ebe30c
files graal/com.oracle.graal.phases/src/com/oracle/graal/phases/BasePhase.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/BasePhase.java	Thu Mar 20 12:43:42 2014 +0100
+++ b/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/BasePhase.java	Thu Mar 20 13:53:36 2014 +0100
@@ -73,7 +73,7 @@
             BasePhase.this.run(graph, context);
             phaseMetric.increment();
             if (dumpGraph) {
-                Debug.dump(graph, "After phase %s", name);
+                Debug.dump(graph, "After phase %s", getName());
             }
             assert graph.verify();
         } catch (Throwable t) {