mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 931196 - Remove MOZ_TEMP_INVESTIGATION poisoning code. r=glandium
This commit is contained in:
parent
1e423346f9
commit
113eaa4daf
@ -20,10 +20,9 @@ endif
|
||||
LOCAL_INCLUDES += -I$(topsrcdir)/memory/build
|
||||
|
||||
# For non release/esr builds, enable (some) fatal jemalloc assertions. This
|
||||
# helps us catch memory errors. See bug 764192 for details on what
|
||||
# MOZ_TEMP_INVESTIGATION is for.
|
||||
# helps us catch memory errors.
|
||||
ifeq (,$(filter release esr,$(MOZ_UPDATE_CHANNEL)))
|
||||
DEFINES += -DMOZ_JEMALLOC_HARD_ASSERTS -DMOZ_TEMP_INVESTIGATION
|
||||
DEFINES += -DMOZ_JEMALLOC_HARD_ASSERTS
|
||||
endif
|
||||
|
||||
DEFINES += -Dabort=moz_abort
|
||||
|
@ -4147,12 +4147,6 @@ arena_malloc_small(arena_t *arena, size_t size, bool zero)
|
||||
} else
|
||||
memset(ret, 0, size);
|
||||
|
||||
#ifdef MOZ_TEMP_INVESTIGATION
|
||||
if (size == 72) {
|
||||
memset(ret, 0xe5, size);
|
||||
}
|
||||
#endif
|
||||
|
||||
return (ret);
|
||||
}
|
||||
|
||||
@ -4509,11 +4503,6 @@ arena_dalloc_small(arena_t *arena, arena_chunk_t *chunk, void *ptr,
|
||||
if (opt_junk)
|
||||
memset(ptr, 0x5a, size);
|
||||
#endif
|
||||
#ifdef MOZ_TEMP_INVESTIGATION
|
||||
if (size == 72) {
|
||||
memset(ptr, 0x75, size);
|
||||
}
|
||||
#endif
|
||||
|
||||
arena_run_reg_dalloc(run, bin, ptr, size);
|
||||
run->nfree++;
|
||||
|
Loading…
Reference in New Issue
Block a user