[Monodevelop-patches-list] r2252 - trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Feb 18 13:02:36 EST 2005
Author: jluke
Date: 2005-02-18 13:02:36 -0500 (Fri, 18 Feb 2005)
New Revision: 2252
Modified:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
Log:
enable optimization
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs 2005-02-14 06:39:31 UTC (rev 2251)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs 2005-02-18 18:02:36 UTC (rev 2252)
@@ -82,9 +82,9 @@
writer.WriteLine("/d:DEBUG");
}
-// if (compilerparameters.Optimize) {
-// writer.WriteLine("/o");
-// }
+ if (compilerparameters.Optimize) {
+ writer.WriteLine("/optimize+");
+ }
if (compilerparameters.Win32Icon != null && compilerparameters.Win32Icon.Length > 0 && File.Exists (compilerparameters.Win32Icon)) {
writer.WriteLine("\"/win32icon:" + compilerparameters.Win32Icon + "\"");
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog 2005-02-14 06:39:31 UTC (rev 2251)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog 2005-02-18 18:02:36 UTC (rev 2252)
@@ -1,3 +1,7 @@
+2005-02-18 John Luke <john.luke at gmail.com>
+
+ * CSharpCompilerManager.cs: pass /optimize if enabled
+
2005-02-05 John Luke <john.luke at gmail.com>
* Gui/CodeGenerationPanel.cs: enable doc generation
More information about the Monodevelop-patches-list
mailing list