mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 775567 - Add separate "scripts" spew channel. r=dvander
This commit is contained in:
parent
69424e0378
commit
2276af4202
@ -254,7 +254,7 @@ IonBuilder::build()
|
||||
if (!current)
|
||||
return false;
|
||||
|
||||
IonSpew(IonSpew_MIR, "Analyzing script %s:%d (%p)",
|
||||
IonSpew(IonSpew_Scripts, "Analyzing script %s:%d (%p)",
|
||||
script->filename, script->lineno, (void *) script);
|
||||
|
||||
if (!initParameters())
|
||||
@ -374,7 +374,7 @@ bool
|
||||
IonBuilder::buildInline(IonBuilder *callerBuilder, MResumePoint *callerResumePoint,
|
||||
MDefinition *thisDefn, MDefinitionVector &argv)
|
||||
{
|
||||
IonSpew(IonSpew_MIR, "Inlining script %s:%d (%p)",
|
||||
IonSpew(IonSpew_Scripts, "Inlining script %s:%d (%p)",
|
||||
script->filename, script->lineno, (void *)script);
|
||||
|
||||
callerBuilder_ = callerBuilder;
|
||||
|
@ -171,6 +171,7 @@ ion::CheckLogging()
|
||||
"usage: IONFLAGS=option,option,option,... where options can be:\n"
|
||||
"\n"
|
||||
" aborts Compilation abort messages\n"
|
||||
" scripts Compiled scripts\n"
|
||||
" mir MIR information\n"
|
||||
" alias Alias analysis\n"
|
||||
" gvn Global Value Numbering\n"
|
||||
@ -195,6 +196,8 @@ ion::CheckLogging()
|
||||
EnableChannel(IonSpew_Abort);
|
||||
if (ContainsFlag(env, "alias"))
|
||||
EnableChannel(IonSpew_Alias);
|
||||
if (ContainsFlag(env, "scripts"))
|
||||
EnableChannel(IonSpew_Scripts);
|
||||
if (ContainsFlag(env, "mir"))
|
||||
EnableChannel(IonSpew_MIR);
|
||||
if (ContainsFlag(env, "gvn"))
|
||||
|
@ -20,6 +20,8 @@ namespace ion {
|
||||
#define IONSPEW_CHANNEL_LIST(_) \
|
||||
/* Used to abort SSA construction */ \
|
||||
_(Abort) \
|
||||
/* Information about compiled scripts */\
|
||||
_(Scripts) \
|
||||
/* Information during MIR building */ \
|
||||
_(MIR) \
|
||||
/* Information during alias analysis */ \
|
||||
|
Loading…
Reference in New Issue
Block a user