diff options
author | lorch <lorch@epfl.ch> | 2008-05-20 06:46:44 +0000 |
---|---|---|
committer | lorch <lorch@epfl.ch> | 2008-05-20 06:46:44 +0000 |
commit | 4983ebac4ad24ea86606bcbed8556ea9434ad862 (patch) | |
tree | e2503da7473c2a7ff53468dd88a7ed9baeb8058d /src/compiler | |
parent | 99b5d1c6477b0d3fffbc628cb15c35c054e1a3cb (diff) | |
download | scala-4983ebac4ad24ea86606bcbed8556ea9434ad862.tar.gz scala-4983ebac4ad24ea86606bcbed8556ea9434ad862.tar.bz2 scala-4983ebac4ad24ea86606bcbed8556ea9434ad862.zip |
Always keep .msil files
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/Settings.scala | 1 | ||||
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala index 7fee784d83..3e177397bd 100644 --- a/src/compiler/scala/tools/nsc/Settings.scala +++ b/src/compiler/scala/tools/nsc/Settings.scala @@ -102,7 +102,6 @@ class Settings(error: String => Unit) { val assemname = StringSetting ("-Xassem", "file", "Name of the output assembly (only relevant with -target:msil)", "").dependsOn(target, "msil").hideToIDE val assemrefs = StringSetting ("-Xassem-path", "path", "List of assemblies referenced by the program (only relevant with -target:msil)", ".").dependsOn(target, "msil").hideToIDE - val keepMsilFiles = BooleanSetting ("-Xkeep-msil-files", "Keep .msil files after calling ilasm").dependsOn(target, "msil").hideToIDE val Xchecknull = BooleanSetting ("-Xcheck-null", "Emit warning on selection of nullable reference") val noassertions = BooleanSetting ("-Xdisable-assertions", "Generate no assertions and assumptions") val Xexperimental = BooleanSetting ("-Xexperimental", "Enable experimental extensions") diff --git a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala index 0a522f7948..b1f3154cd6 100644 --- a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala +++ b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala @@ -461,9 +461,6 @@ abstract class GenMSIL extends SubComponent { try { val p = Runtime.getRuntime().exec(cmd) p.waitFor() // wait until ilasm is done - if(!settings.keepMsilFiles.value) { - generatedFiles.foreach(f => new File(f).delete()) - } } catch { case _ => Console.println("Cannot run command: " + cmd) |