diff options
author | lorch <lorch@epfl.ch> | 2008-07-14 13:38:26 +0000 |
---|---|---|
committer | lorch <lorch@epfl.ch> | 2008-07-14 13:38:26 +0000 |
commit | 7ec37d609c1ad607d9af18a245b9c6e6e8019f70 (patch) | |
tree | 767c897b0fd9c33d05654cf39686337c5e1651a0 | |
parent | 66a97fea14a5c6e248b86ce00dc6198623825894 (diff) | |
download | scala-7ec37d609c1ad607d9af18a245b9c6e6e8019f70.tar.gz scala-7ec37d609c1ad607d9af18a245b9c6e6e8019f70.tar.bz2 scala-7ec37d609c1ad607d9af18a245b9c6e6e8019f70.zip |
`ilasm' won't be called automatically, anymore.
within a build tool, to allow the user to specify for example the
generation of debug symbols.
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala index d6d7f5eef4..9452ca0b74 100644 --- a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala +++ b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala @@ -456,20 +456,6 @@ abstract class GenMSIL extends SubComponent { log("Output path: " + filename) try { massembly.Save(filename, srcPath.getPath()) - val ilasm = Properties.msilILasm - if (ilasm != "") { - val generatedFiles = List.fromArray(massembly.GetGeneratedFiles) - val cmd = ilasm + " " + (if(entryPoint == null) "/dll" else "/exe") + " /output:" + moduleName + " " + generatedFiles.mkString(" ") - if (settings.debug.value) - log("Executing command: " + cmd) - try { - Runtime.getRuntime().exec(cmd) - } catch { - case _ => - Console.println("Cannot run command: " + cmd) - exit(1) - } - } } catch { case e:IOException => abort("Could not write to " + filename + ": " + e.getMessage()) } |