From 65b3a1a24801b4008ee0d7317cc3816894fbdd69 Mon Sep 17 00:00:00 2001 From: Nathan Ricci Date: Wed, 21 Aug 2019 13:55:20 -0400 Subject: [PATCH] Got rid of some debug code. Commit migrated from https://github.com/mono/mono/commit/cfb4afff4372fa129869afc9a30aed8d7264eed5 --- src/mono/mono/sgen/sgen-alloc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/mono/mono/sgen/sgen-alloc.c b/src/mono/mono/sgen/sgen-alloc.c index e4f07bb..73688cd 100644 --- a/src/mono/mono/sgen/sgen-alloc.c +++ b/src/mono/mono/sgen/sgen-alloc.c @@ -406,9 +406,6 @@ sgen_try_alloc_obj_nolock (GCVTable vtable, size_t size) return (GCObject*)p; } - -gboolean sgen_debug_null = 0; - GCObject* sgen_alloc_obj (GCVTable vtable, size_t size) { @@ -450,10 +447,6 @@ sgen_alloc_obj (GCVTable vtable, size_t size) res = sgen_alloc_obj_nolock (vtable, size); UNLOCK_GC; - if (! res) - { - sgen_debug_null = 1; - } return res; } -- 2.7.4