[mono/mono] f8701513: [jit] Make ABCREM really remove bounds checks, not just when running with -v -v -v -v.

"Zoltan Varga ([email protected])" <[email protected]> Fri, 8 Nov 2013 17:28:18 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <0000014238c1db55-a84f4a6a-2377-41c2-97a1-d8201d5bfd29-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/009689da6355...f8701513e9c3

   Commit: f8701513e9c32669bcf924e49003225e3094500b
   Author: Zoltan Varga <[email protected]> (vargaz)
     Date: 2013-11-08 17:27:01 GMT
      URL: https://github.com/mono/mono/commit/f8701513e9c32669bcf924e49003225e3094500b

[jit] Make ABCREM really remove bounds checks, not just when running with -v -v -v -v.

Changed paths:
  M mono/mini/abcremoval.c

Modified: mono/mini/abcremoval.c
===================================================================
@@ -989,8 +989,8 @@
 		if (REPORT_ABC_REMOVAL) {
 			printf ("ARRAY-ACCESS: removed bounds check on array %d with index %d\n",
 					array_variable, index_variable);
-			NULLIFY_INS (ins);
 		}
+		NULLIFY_INS (ins);
 	} else {
 		if (TRACE_ABC_REMOVAL) {
 			if (index_context->ranges.zero.lower >= 0) {


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches