From c3c1c65d5fa2a6fd94e8f3bda7c5b4b5408bb789 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 23 Jul 2011 22:50:46 +0000 Subject: Since trunk seems to be undergoing all kinds of... Since trunk seems to be undergoing all kinds of changes of the sort which touch lots of files, the time is ripe for various search/replace improvements which have stacked up. This one is the replacement of all "if (settings.debug.value) log" with "debuglog" since as noted in a recent commit, the inliner will take care of that for you. No review. --- src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala') diff --git a/src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala b/src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala index d5194346c9..e0d51aee16 100644 --- a/src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala +++ b/src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala @@ -101,7 +101,7 @@ abstract class ClosureElimination extends SubComponent { for (bb <- linearizer.linearize(m)) { var info = cpp.in(bb) - if (settings.debug.value) log("Cpp info at entry to block " + bb + ": " + info) + debuglog("Cpp info at entry to block " + bb + ": " + info) for (i <- bb) { i match { -- cgit v1.2.3