Author: martin
Date: 2007-10-31 11:34:05 -0500 (Wed, 31 Oct 2007)
New Revision: 88578

Modified:
   trunk/mono/mono/mini/mini-x86.c
Log:
Small fix.

Modified: trunk/mono/mono/mini/mini-x86.c
===================================================================
--- trunk/mono/mono/mini/mini-x86.c     2007-10-31 16:27:22 UTC (rev 88577)
+++ trunk/mono/mono/mini/mini-x86.c     2007-10-31 16:34:05 UTC (rev 88578)
@@ -4504,8 +4504,8 @@
        guint8 reg = 0;
        gint32 disp = 0;
 
-       mono_debugger_remove_breakpoints_from_code (code - 8, buf, sizeof 
(buf));
-       code = buf + 8;
+       if (mono_debugger_remove_breakpoints_from_code (code - 8, buf, sizeof 
(buf)))
+               code = buf + 8;
 
        *displacement = 0;
 

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

Reply via email to