Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
[Merge chakra-core/ChakraCore@4f8f11f61b] [MERGE #3571 @Cellule] Glob…
Browse files Browse the repository at this point in the history
…opt Instr string config flag

Merge pull request #3571 from Cellule:globopt_string

Add option to disable printing Globopt instr strings post lower.
  • Loading branch information
chakrabot committed Aug 24, 2017
1 parent 3748540 commit cc446d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deps/chakrashim/core/lib/Backend/IR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4209,7 +4209,7 @@ Instr::DumpByteCodeOffset()
void
Instr::DumpGlobOptInstrString()
{
if(this->globOptInstrString)
if(this->globOptInstrString && Js::Configuration::Global.flags.PrintGlobOptInstrString)
{
Output::Print(_u("\n\n GLOBOPT INSTR: %s\n\n"), this->globOptInstrString);
}
Expand Down
1 change: 1 addition & 0 deletions deps/chakrashim/core/lib/Common/ConfigFlagsList.h
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,7 @@ FLAGNR(Boolean, PrintRunTimeDataCollectionTrace, "Print traces needed for runtim
FLAGR (Boolean, Prejit , "Prejit everything, including things that are not called, ignoring limits (default: false)", DEFAULT_CONFIG_Prejit)
#endif
FLAGNR(Boolean, PrintSrcInDump , "Print the lineno and the source code in the intermediate dumps", true)
FLAGNR(Boolean, PrintGlobOptInstrString, "Print the Globopt instr string in post lower dumps", true)
#if PROFILE_DICTIONARY
FLAGNR(Number, ProfileDictionary , "Profile dictionary usage. Only dictionaries with max depth of <number> or above are displayed (0=no filter).", -1)
#endif
Expand Down

0 comments on commit cc446d2

Please sign in to comment.