mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 481260 - JIT stats in tracemonkey can interfere with stdout-using embeddings. Take 2. r=jorendorff.
This commit is contained in:
parent
8f499d0a5e
commit
0ba5dbee9c
@ -241,6 +241,7 @@ static bool did_we_check_sse2 = false;
|
||||
|
||||
#ifdef JS_JIT_SPEW
|
||||
bool js_verboseDebug = getenv("TRACEMONKEY") && strstr(getenv("TRACEMONKEY"), "verbose");
|
||||
bool js_verboseStats = getenv("TRACEMONKEY") && strstr(getenv("TRACEMONKEY"), "stats");
|
||||
#endif
|
||||
|
||||
/* The entire VM shares one oracle. Collisions and concurrent updates are tolerated and worst
|
||||
@ -4529,7 +4530,7 @@ extern void
|
||||
js_FinishJIT(JSTraceMonitor *tm)
|
||||
{
|
||||
#ifdef JS_JIT_SPEW
|
||||
if (js_verboseDebug && jitstats.recorderStarted) {
|
||||
if (js_verboseStats && jitstats.recorderStarted) {
|
||||
printf("recorder: started(%llu), aborted(%llu), completed(%llu), different header(%llu), "
|
||||
"trees trashed(%llu), slot promoted(%llu), unstable loop variable(%llu), "
|
||||
"breaks(%llu), returns(%llu), unstableInnerCalls(%llu)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user