summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/mheapmap64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/mheapmap64.c')
-rw-r--r--src/pkg/runtime/mheapmap64.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pkg/runtime/mheapmap64.c b/src/pkg/runtime/mheapmap64.c
index 793029178..97e20b6d2 100644
--- a/src/pkg/runtime/mheapmap64.c
+++ b/src/pkg/runtime/mheapmap64.c
@@ -96,7 +96,6 @@ MHeapMap_Preallocate(MHeapMap *m, PageID k, uintptr len)
p2 = m->allocator(sizeof *p2);
if(p2 == nil)
return false;
- runtime_memclr((byte*)p2, sizeof *p2);
m->p[i1] = p2;
}
@@ -105,7 +104,6 @@ MHeapMap_Preallocate(MHeapMap *m, PageID k, uintptr len)
p3 = m->allocator(sizeof *p3);
if(p3 == nil)
return false;
- runtime_memclr((byte*)p3, sizeof *p3);
p2->p[i2] = p3;
}