summaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2015-06-29 17:40:22 -0700
committerBruce Forstall <brucefo@microsoft.com>2015-06-29 17:40:22 -0700
commit15a13afe884e8445bbbc406f29a5c549db92c27b (patch)
tree4c744f8907a21cd35ce0dca5c55867950ae56f2d /src/jit
parent15465475b44219dff0a9fd00857ce9b1ff3aeda5 (diff)
downloadcoreclr-15a13afe884e8445bbbc406f29a5c549db92c27b.tar.gz
coreclr-15a13afe884e8445bbbc406f29a5c549db92c27b.tar.bz2
coreclr-15a13afe884e8445bbbc406f29a5c549db92c27b.zip
Replace COMPLUS_SOCExtraSpew with COMPLUS_JitFunctionTrace, and enable it for all architectures in RyuJIT
[tfs-changeset: 1495487]
Diffstat (limited to 'src/jit')
-rw-r--r--src/jit/compiler.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/jit/compiler.cpp b/src/jit/compiler.cpp
index cce10dc003..9d3c872fc3 100644
--- a/src/jit/compiler.cpp
+++ b/src/jit/compiler.cpp
@@ -2992,7 +2992,7 @@ void Compiler::compCompile(void * * methodCodePtr,
unsigned compileFlags)
{
hashBv::Init(this);
-
+
VarSetOps::AssignAllowUninitRhs(this, compCurLife, VarSetOps::UninitVal());
/* The temp holding the secret stub argument is used by fgImport() when importing the intrinsic. */
@@ -3007,22 +3007,18 @@ void Compiler::compCompile(void * * methodCodePtr,
EndPhase(PHASE_PRE_IMPORT);
#ifdef DEBUG
-#ifdef _TARGET_ARM_
- bool extraSpew = (CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_SOCExtraSpew) != 0);
-#endif
+ bool funcTrace = (CLRConfig::GetConfigValue(CLRConfig::INTERNAL_JitFunctionTrace) != 0);
if (!compIsForInlining())
{
LONG newJitNestingLevel = InterlockedIncrement(&Compiler::jitNestingLevel);
assert(newJitNestingLevel > 0);
-#ifdef _TARGET_ARM_
- if (extraSpew && !opts.disDiffable)
+ if (funcTrace && !opts.disDiffable)
{
for (LONG i = 0; i < newJitNestingLevel - 1; i++)
printf(" ");
printf("{ Start Jitting %s\n", info.compFullName); /* } editor brace matching workaround for this printf */
}
-#endif // _TARGET_ARM
}
#endif // DEBUG
@@ -3464,8 +3460,7 @@ void Compiler::compCompile(void * * methodCodePtr,
LONG newJitNestingLevel = InterlockedDecrement(&Compiler::jitNestingLevel);
assert(newJitNestingLevel >= 0);
-#ifdef _TARGET_ARM_
- if (extraSpew && !opts.disDiffable)
+ if (funcTrace && !opts.disDiffable)
{
for (LONG i = 0; i < newJitNestingLevel; i++)
printf(" ");
@@ -3474,7 +3469,6 @@ void Compiler::compCompile(void * * methodCodePtr,
Compiler::jitTotalMethodCompiled, DBG_ADDR(*methodCodePtr),
info.compFullName, *methodCodeSize);
}
-#endif // _TARGET_ARM_
#if FUNC_INFO_LOGGING
if (compJitFuncInfoFile != NULL)