diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/obmalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 57edf97..f2651d7 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -297,9 +297,9 @@ _PyMem_Initialize(struct _pymem_runtime_state *state) state->allocators.obj = _pyobject; #ifdef WITH_PYMALLOC + Py_BUILD_ASSERT(NB_SMALL_SIZE_CLASSES == 64); + for (int i = 0; i < 8; i++) { - if (NB_SMALL_SIZE_CLASSES <= i * 8) - break; for (int j = 0; j < 8; j++) { int x = i * 8 + j; poolp *addr = &(state->usedpools[2*(x)]); |