From 1b5148d940557d53fb6550d3c2233b8a0a480585 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Sat, 30 Aug 2008 02:21:00 -0700 Subject: [PATCH] Bug 452905 - Make js_RecordTree printfs only appear with TRACEMONKEY=verbose. r=gal --- js/src/jstracer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jstracer.cpp b/js/src/jstracer.cpp index 2ab3ecb93e6..f8c82cd3cce 100644 --- a/js/src/jstracer.cpp +++ b/js/src/jstracer.cpp @@ -1864,7 +1864,7 @@ js_RecordTree(JSContext* cx, JSTraceMonitor* tm, Fragment* f) /* Make sure the global type map didn't change on us. */ uint32 globalShape = OBJ_SCOPE(JS_GetGlobalForObject(cx, cx->fp->scopeChain))->shape; if (tm->globalShape != globalShape) { - debug_only(printf("Global shape mismatch (%u vs. %u) in RecordTree, flushing cache.\n", + debug_only_v(printf("Global shape mismatch (%u vs. %u) in RecordTree, flushing cache.\n", globalShape, tm->globalShape);) js_FlushJITCache(cx); return false; @@ -1873,7 +1873,7 @@ js_RecordTree(JSContext* cx, JSTraceMonitor* tm, Fragment* f) current.captureGlobalTypes(cx, *tm->globalSlots); if (!current.matches(*tm->globalTypeMap)) { js_FlushJITCache(cx); - debug_only(printf("Global type map mismatch in RecordTree, flushing cache.\n");) + debug_only_v(printf("Global type map mismatch in RecordTree, flushing cache.\n");) return false; }