diff options
Diffstat (limited to 'runtime/src')
| -rw-r--r-- | runtime/src/gc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/src/gc.c b/runtime/src/gc.c index b15c20dc..8d2efc08 100644 --- a/runtime/src/gc.c +++ b/runtime/src/gc.c @@ -87,12 +87,6 @@ void* shed__runtime__gc_alloc(size_t size, uint32_t children_offset, uint32_t ch object->children_offset = children_offset; object->children_count = children_count; - __builtin_memset( - ((void*) object) + children_offset, - 0, - sizeof(void*) * children_count - ); - // TODO: is it possible to leave adding the root to the caller, and avoid // having to add so many roots? (Since some values will immediately become a // descendant of a root.) |
