diff options
author | Paul Phillips <paulp@improving.org> | 2011-07-23 22:50:46 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-07-23 22:50:46 +0000 |
commit | c3c1c65d5fa2a6fd94e8f3bda7c5b4b5408bb789 (patch) | |
tree | 59302a13061022c78058c65d41774bb94983f8d9 /src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala | |
parent | 5c61410fe5b8fd636bde6484f04a2d1160ed7eb4 (diff) | |
download | scala-c3c1c65d5fa2a6fd94e8f3bda7c5b4b5408bb789.tar.gz scala-c3c1c65d5fa2a6fd94e8f3bda7c5b4b5408bb789.tar.bz2 scala-c3c1c65d5fa2a6fd94e8f3bda7c5b4b5408bb789.zip |
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.
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/opt/ClosureElimination.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |