# HG changeset patch # User Thomas Wuerthinger # Date 1327791352 -3600 # Node ID e2d7b8d158795e0e01b20252865c097c01c1819b # Parent a74fd31c017e506141f4df9c938d275a1a420853 Remove TraceGVN flag. diff -r a74fd31c017e -r e2d7b8d15879 graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/GraalOptions.java --- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/GraalOptions.java Sat Jan 28 23:55:02 2012 +0100 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/GraalOptions.java Sat Jan 28 23:55:52 2012 +0100 @@ -117,7 +117,6 @@ public static boolean TraceDeadCodeElimination = ____; public static boolean TraceEscapeAnalysis = ____; public static boolean TraceCanonicalizer = ____; - public static boolean TraceGVN = ____; public static int TraceBytecodeParserLevel = 0; public static boolean ExitVMOnBailout = ____; public static boolean ExitVMOnException = true; diff -r a74fd31c017e -r e2d7b8d15879 graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/phases/GlobalValueNumberingPhase.java --- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/phases/GlobalValueNumberingPhase.java Sat Jan 28 23:55:02 2012 +0100 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/phases/GlobalValueNumberingPhase.java Sat Jan 28 23:55:52 2012 +0100 @@ -22,8 +22,6 @@ */ package com.oracle.max.graal.compiler.phases; -import com.oracle.max.criutils.*; -import com.oracle.max.graal.compiler.*; import com.oracle.max.graal.debug.*; import com.oracle.max.graal.graph.*; import com.oracle.max.graal.nodes.*; @@ -53,9 +51,7 @@ n.replaceAtUsages(newNode); n.safeDelete(); metricGlobalValueNumberingHits.increment(); - if (GraalOptions.TraceGVN) { - TTY.println("GVN applied and new node is " + newNode); - } + Debug.log("GVN applied and new node is %1s", newNode); } } }