[Mono-bugs] [Bug 55937][Wis] New - [PATCH] When initing an array we emit a temp when a dup would suffice

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 22 Mar 2004 23:37:24 -0500 (EST)


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 bmaurer@users.sf.net.

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

--- shadow/55937	2004-03-22 23:37:24.000000000 -0500
+++ shadow/55937.tmp.9092	2004-03-22 23:37:24.000000000 -0500
@@ -0,0 +1,22 @@
+Bug#: 55937
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] When initing an array we emit a temp when a dup would suffice
+
+In array initilization, we create a temporary variable, when we could just
+use `dup' and avoid the local.
+
+This reduces the size of the code.