diff options
author | Jason Evans <jasone@canonware.com> | 2015-02-16 04:26:45 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-02-16 04:26:45 (GMT) |
commit | 40ab8f98e42fda3816e2a993f136ec4770c202c7 (patch) | |
tree | 69b7abae09c99bebebef0cd22937caaff05c566a /include/jemalloc | |
parent | cb9b44914e7e25c6b08af7124d7f8f976e059555 (diff) | |
download | jemalloc-40ab8f98e42fda3816e2a993f136ec4770c202c7.zip jemalloc-40ab8f98e42fda3816e2a993f136ec4770c202c7.tar.gz jemalloc-40ab8f98e42fda3816e2a993f136ec4770c202c7.tar.bz2 |
Remove more obsolete (incorrect) assertions.
This regression was introduced by
88fef7ceda6269598cef0cee8b984c8765673c27 (Refactor huge_*() calls into
arena internals.), and went undetected because of the --enable-debug
regression.
Diffstat (limited to 'include/jemalloc')
-rw-r--r-- | include/jemalloc/internal/arena.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/jemalloc/internal/arena.h b/include/jemalloc/internal/arena.h index 232e9a6..6341a86 100644 --- a/include/jemalloc/internal/arena.h +++ b/include/jemalloc/internal/arena.h @@ -934,7 +934,6 @@ arena_prof_tctx_get(const void *ptr) cassert(config_prof); assert(ptr != NULL); - assert(CHUNK_ADDR2BASE(ptr) != ptr); chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(ptr); if (likely(chunk != ptr)) { @@ -961,7 +960,6 @@ arena_prof_tctx_set(const void *ptr, prof_tctx_t *tctx) cassert(config_prof); assert(ptr != NULL); - assert(CHUNK_ADDR2BASE(ptr) != ptr); chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(ptr); if (likely(chunk != ptr)) { |