diff options
author | Senthil <schellap@microsoft.com> | 2015-02-06 13:37:57 -0800 |
---|---|---|
committer | Senthil <schellap@microsoft.com> | 2015-02-06 13:37:57 -0800 |
commit | 8b79ddb4300668c176a39a5fc1835cdf99624847 (patch) | |
tree | a2fc7852251cd2b51a24546a48f420b64954d2ac /src/jit | |
parent | c4eb03708c4c09b47fcdf6a77e6a9abe8952ce9f (diff) | |
parent | 799f14beef25117a0264a2963c1e07c979aede0a (diff) | |
download | coreclr-8b79ddb4300668c176a39a5fc1835cdf99624847.tar.gz coreclr-8b79ddb4300668c176a39a5fc1835cdf99624847.tar.bz2 coreclr-8b79ddb4300668c176a39a5fc1835cdf99624847.zip |
Merge pull request #86 from maksqwe/assertion_search_fix
Fix non-null assertion search in assertion table
Diffstat (limited to 'src/jit')
-rw-r--r-- | src/jit/assertionprop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/assertionprop.cpp b/src/jit/assertionprop.cpp index 34e575eeef..3a7f8437dd 100644 --- a/src/jit/assertionprop.cpp +++ b/src/jit/assertionprop.cpp @@ -3662,7 +3662,7 @@ EXPSET_TP Compiler::optImpliedByTypeOfAssertions(EXPSET_TP activeAssertions) // impAssertion must be a Non Null assertion on lclNum if (impAssertion->assertionKind != OAK_NOT_EQUAL || impAssertion->op1.kind != O1K_LCLVAR || - impAssertion->op1.kind != O2K_CONST_INT || + impAssertion->op2.kind != O2K_CONST_INT || impAssertion->op1.vn != chkAssertion->op1.vn) { continue; |