inline static bool ShouldThrowOnNoway( #ifdef FEATURE_TRACELOGGING const char* filename, unsigned line #endif ) { return GetTlsCompiler() == NULL || GetTlsCompiler()->compShouldThrowOnNoway( #ifdef FEATURE_TRACELOGGING filename, line #endif ); }
unsigned SsaStressHashHelper() { // hash = 0: turned off, hash = 1: use method hash, hash = *: use custom hash. static ConfigDWORD fJitSsaStress; unsigned hash = fJitSsaStress.val(CLRConfig::INTERNAL_JitSsaStress); if (hash == 0) { return hash; } if (hash == 1) { return GetTlsCompiler()->info.compMethodHash(); } return ((hash >> 16) == 0) ? ((hash << 16) | hash) : hash; }