From c09eb5d1a970d92b11ac97bf04dc7c02b972d3c0 Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Wed, 19 Aug 2009 15:29:56 -0700 Subject: [PATCH] Remove debug printfs (no bug). --- js/src/jsapi.cpp | 3 --- js/src/jstracer.cpp | 6 ------ 2 files changed, 9 deletions(-) diff --git a/js/src/jsapi.cpp b/js/src/jsapi.cpp index 12cd9ecc85d..efcee9bb310 100644 --- a/js/src/jsapi.cpp +++ b/js/src/jsapi.cpp @@ -836,9 +836,6 @@ bad: JS_PUBLIC_API(void) JS_CommenceRuntimeShutDown(JSRuntime *rt) { -#ifdef DEBUG - fprintf(stderr, "JS_CommenceRuntimeShutDown\n"); -#endif rt->gcFlushCodeCaches = true; } diff --git a/js/src/jstracer.cpp b/js/src/jstracer.cpp index 4fba342533f..c6442abafa6 100644 --- a/js/src/jstracer.cpp +++ b/js/src/jstracer.cpp @@ -2108,9 +2108,6 @@ oom: void JSTraceMonitor::flush() { -#ifdef DEBUG - fprintf(stderr, "JSTraceMonitor::flush()\n"); -#endif if (fragmento) { fragmento->clearFrags(); for (size_t i = 0; i < FRAGMENT_TABLE_SIZE; ++i) { @@ -2147,9 +2144,6 @@ void JSTraceMonitor::mark(JSTracer* trc) { if (!trc->context->runtime->gcFlushCodeCaches) { -#ifdef DEBUG - fprintf(stderr, "JSTraceMonitor::mark()\n"); -#endif for (size_t i = 0; i < FRAGMENT_TABLE_SIZE; ++i) { VMFragment* f = vmfragments[i]; while (f) {