From 4670b5fcd23eaf8ab6ff34235085b96ace362f35 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 18 May 2015 20:26:40 -0700 Subject: [PATCH] Back out some debugging code accidentally included in a1f7ae44c7bb. --- xpcom/reflect/xptinfo/xptiWorkingSet.cpp | 1 - xpcom/typelib/xpt/xpt_arena.cpp | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/xpcom/reflect/xptinfo/xptiWorkingSet.cpp b/xpcom/reflect/xptinfo/xptiWorkingSet.cpp index c0530aea9a2..5ed36545e55 100644 --- a/xpcom/reflect/xptinfo/xptiWorkingSet.cpp +++ b/xpcom/reflect/xptinfo/xptiWorkingSet.cpp @@ -22,7 +22,6 @@ XPTInterfaceInfoManager::xptiWorkingSet::xptiWorkingSet() { MOZ_COUNT_CTOR(xptiWorkingSet); - fprintf(stderr, "Working set\n"); gXPTIStructArena = XPT_NewArena(XPTI_STRUCT_ARENA_BLOCK_SIZE, sizeof(double), "xptiWorkingSet structs"); } diff --git a/xpcom/typelib/xpt/xpt_arena.cpp b/xpcom/typelib/xpt/xpt_arena.cpp index 7b2a4f3aac3..d9f9f6e81b6 100644 --- a/xpcom/typelib/xpt/xpt_arena.cpp +++ b/xpcom/typelib/xpt/xpt_arena.cpp @@ -187,9 +187,7 @@ XPT_ArenaMalloc(XPTArena *arena, size_t size) while (bytes > new_space - block_header_size) new_space += arena->block_size; - fprintf(stderr, "NEW ARENA: %s - %d\n", arena->name, - (new_space/arena->alignment) * arena->alignment); - new_block = (BLK_HDR*) calloc(new_space/arena->alignment, + new_block = (BLK_HDR*) calloc(new_space/arena->alignment, arena->alignment); if (!new_block) { arena->next = NULL;