diff options
author | Brian Sullivan <briansul@microsoft.com> | 2020-02-13 14:26:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 14:26:51 -0800 |
commit | 04d3f0da1b610418eaccd26c8ef1f7393c72c053 (patch) | |
tree | 95b1e3dad98e1fcc3b335c9193b60bc0593add78 /src | |
parent | 0656e62638d11c7af45fc39a1dc0e3442156c99f (diff) | |
download | coreclr-04d3f0da1b610418eaccd26c8ef1f7393c72c053.tar.gz coreclr-04d3f0da1b610418eaccd26c8ef1f7393c72c053.tar.bz2 coreclr-04d3f0da1b610418eaccd26c8ef1f7393c72c053.zip |
Port the 5.0 fix for issue #1104 (#28003)
* Port the 5.0 fix for issue #1104 3.1
- Pull Request Runtime\#1734
- This change corrects a cut-and paste typo with a previous commit.
- Includes test case Runtime_1104.cs
* Updated the csproj to use 3.1 syntax
Diffstat (limited to 'src')
-rw-r--r-- | src/jit/rangecheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/rangecheck.cpp b/src/jit/rangecheck.cpp index 96fcaf9561..5c26087864 100644 --- a/src/jit/rangecheck.cpp +++ b/src/jit/rangecheck.cpp @@ -362,7 +362,7 @@ bool RangeCheck::IsMonotonicallyIncreasing(GenTree* expr, bool rejectNegativeCon JITDUMP("[RangeCheck::IsMonotonicallyIncreasing] [%06d]\n", Compiler::dspTreeID(expr)); // Add hashtable entry for expr. - bool alreadyPresent = !m_pSearchPath->Set(expr, nullptr, SearchPath::Overwrite); + bool alreadyPresent = m_pSearchPath->Set(expr, nullptr, SearchPath::Overwrite); if (alreadyPresent) { return true; |