diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala index fc95c4bfd9..2c883c2513 100644 --- a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala +++ b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala @@ -458,18 +458,18 @@ abstract class GenMSIL extends SubComponent { log("output file name: " + filename) try { massembly.Save(filename) - val fm = Properties.ilasmFormat - if (fm != null) { - val exeName = new File(outDir, assemName + ".exe").getPath() - val cmd = fm.format(Array(/*output*/exeName, /*input*/filename)) - try { - Runtime.getRuntime().exec(cmd) - } catch { - case ex: java.io.IOException => - Console.println("Cannot run command: " + cmd) - exit(1) - } - } +// val fm = Properties.ilasmFormat +// if (fm != null) { +// val exeName = new File(outDir, assemName + ".exe").getPath() +// val cmd = fm.format(Array(/*output*/exeName, /*input*/filename)) +// try { +// Runtime.getRuntime().exec(cmd) +// } catch { +// case ex: java.io.IOException => +// Console.println("Cannot run command: " + cmd) +// exit(1) +// } +// } } catch { case _: Error => abort("Could not save file " + filename) } |