projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59381d1
)
Got rid of some debug code.
author
Nathan Ricci
<naricc@microsoft.com>
Wed, 21 Aug 2019 17:55:20 +0000
(13:55 -0400)
committer
Nathan Ricci
<naricc@microsoft.com>
Wed, 21 Aug 2019 17:55:20 +0000
(13:55 -0400)
Commit migrated from https://github.com/mono/mono/commit/
cfb4afff4372fa129869afc9a30aed8d7264eed5
src/mono/mono/sgen/sgen-alloc.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/sgen/sgen-alloc.c
b/src/mono/mono/sgen/sgen-alloc.c
index
e4f07bb
..
73688cd
100644
(file)
--- 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;
}