diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2016-03-07 11:41:19 -0800 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2016-03-07 11:41:19 -0800 |
commit | cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0 (patch) | |
tree | ee6abe636390ae3e926ee8bc40273e7b001e03b2 /src/jit/codegenlegacy.cpp | |
parent | e454121ee731e35de9244596c4a5cd1563d455fe (diff) | |
download | coreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.tar.gz coreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.tar.bz2 coreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.zip |
Reapply change 1578859: Add a new set of APIs for JIT configuration.
SuperPMI has been udpated to accommodate this change, and should no
longer crash when run using a JIT built with these changes.
[tfs-changeset: 1582144]
Diffstat (limited to 'src/jit/codegenlegacy.cpp')
-rw-r--r-- | src/jit/codegenlegacy.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/jit/codegenlegacy.cpp b/src/jit/codegenlegacy.cpp index 57807fb846..846f51df05 100644 --- a/src/jit/codegenlegacy.cpp +++ b/src/jit/codegenlegacy.cpp @@ -6209,8 +6209,7 @@ bool CodeGen::genCodeForQmarkWithCMOV(GenTreePtr tree, noway_assert(colon->gtOper == GT_COLON); #ifdef DEBUG - static ConfigDWORD fJitNoCMOV; - if (fJitNoCMOV.val(CLRConfig::INTERNAL_JitNoCMOV)) + if (JitConfig.JitNoCMOV()) { return false; } @@ -12254,8 +12253,7 @@ void CodeGen::genCodeForTreeSpecialOp(GenTreePtr tree, #ifdef FEATURE_ENABLE_NO_RANGE_CHECKS // MUST NEVER CHECK-IN WITH THIS ENABLED. // This is just for convenience in doing performance investigations and requires x86ret builds - static ConfigDWORD fJitNoRngChk; - if (!fJitNoRngChk.val(CLRConfig::PRIVATE_JitNoRangeChks)) + if (!JitConfig.JitNoRngChk()) #endif genRangeCheck(tree); } |