Fix an out-of-bounds write in the llvm backend initialization code.
[mono.git] / mono / mini / debug-mini.c
index c36d618c7998b97831ca78f97a90318f980884d6..f82bf6a9d5f8749cf84513c7d8312a7a4ffd8c25 100644 (file)
@@ -775,10 +775,6 @@ mono_debugger_method_has_breakpoint (MonoMethod *method)
        if (!breakpoints)
                return 0;
 
-       if ((method->wrapper_type != MONO_WRAPPER_NONE) &&
-               (method->wrapper_type != MONO_WRAPPER_DYNAMIC_METHOD))
-               return 0;
-
        for (i = 0; i < breakpoints->len; i++) {
                MiniDebugBreakpointInfo *info = g_ptr_array_index (breakpoints, i);