Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update assertionprop.cpp
  • Loading branch information
EgorBo authored Nov 24, 2022
commit 29f4e9d3724e7327d274c70c0fb372a5f00671af
4 changes: 1 addition & 3 deletions src/coreclr/jit/assertionprop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3364,9 +3364,7 @@ GenTree* Compiler::optConstantAssertionProp(AssertionDsc* curAssertion,
case O2K_CONST_INT:

// Don't propagate handles if we need to report relocs.
// Allow for static field handles.
if (opts.compReloc && curAssertion->op2.HasIconFlag() &&
(curAssertion->op2.GetIconFlag() != GTF_ICON_STATIC_HDL))
if (opts.compReloc && curAssertion->op2.HasIconFlag())
{
return nullptr;
}
Expand Down