[Mono-bugs] [Bug 77961][Nor] New - [PATH] Add overloads to Report.Warning/Error methods to reduce code size

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Mar 30 08:14:15 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vargaz at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77961

--- shadow/77961	2006-03-30 08:14:14.000000000 -0500
+++ shadow/77961.tmp.20671	2006-03-30 08:14:14.000000000 -0500
@@ -0,0 +1,23 @@
+Bug#: 77961
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: vargaz at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATH] Add overloads to Report.Warning/Error methods to reduce code size
+
+Currently, most calls to Report.Warning and Report.Error methods in mcs
+go to the 'params' versions of these methods, meaning the generated code
+will have to create a (usually 0 or 1) length array, and initialize it.
+The attached patch avoids that by adding some overloads to these methods. It
+reduces the native code generated by the JIT for mcs by about 10KB on x86.


More information about the mono-bugs mailing list