diff options
author | Lex Spoon <lex@lexspoon.org> | 2008-02-23 05:53:02 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2008-02-23 05:53:02 +0000 |
commit | cad235ff621ea56409e6efe78222def4dcf21d08 (patch) | |
tree | 65ae83b1093db289411eb503978a4396c89f7e91 /src/compiler | |
parent | c11c657d05dd1f01436674fcdb7997d0349f6e4b (diff) | |
download | scala-cad235ff621ea56409e6efe78222def4dcf21d08.tar.gz scala-cad235ff621ea56409e6efe78222def4dcf21d08.tar.bz2 scala-cad235ff621ea56409e6efe78222def4dcf21d08.zip |
change -g:notc to -g:notailcalls
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/Settings.scala | 2 | ||||
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/TailCalls.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala index ecf8f5994a..ef590cc545 100644 --- a/src/compiler/scala/tools/nsc/Settings.scala +++ b/src/compiler/scala/tools/nsc/Settings.scala @@ -80,7 +80,7 @@ class Settings(error: String => Unit) { } else null } - val debuginfo = new DebugSetting ("-g", "Specify level of generated debugging info", List("none", "source", "line", "vars", "notc"), "vars", "vars") + val debuginfo = new DebugSetting ("-g", "Specify level of generated debugging info", List("none", "source", "line", "vars", "notailcalls"), "vars", "vars") val nowarnings = BooleanSetting ("-nowarn", "Generate no warnings").hideToIDE val verbose = BooleanSetting ("-verbose", "Output messages about what the compiler is doing").hideToIDE val deprecation = BooleanSetting ("-deprecation", "Output source locations where deprecated APIs are used").hideToIDE diff --git a/src/compiler/scala/tools/nsc/transform/TailCalls.scala b/src/compiler/scala/tools/nsc/transform/TailCalls.scala index 20d7b97320..4ab49b68cc 100644 --- a/src/compiler/scala/tools/nsc/transform/TailCalls.scala +++ b/src/compiler/scala/tools/nsc/transform/TailCalls.scala @@ -33,7 +33,7 @@ abstract class TailCalls extends Transform /** The phase defined by this transform */ class Phase(prev: scala.tools.nsc.Phase) extends StdPhase(prev) { def apply(unit: global.CompilationUnit) { - if (!(settings.debuginfo.value == "notc")) { + if (!(settings.debuginfo.value == "notailcalls")) { newTransformer(unit).transformUnit(unit); } } |