summaryrefslogtreecommitdiff
path: root/dir.props
diff options
context:
space:
mode:
authorAndy Ayers <andya@microsoft.com>2017-10-10 02:27:28 (GMT)
committerGitHub <noreply@github.com>2017-10-10 02:27:28 (GMT)
commitbe3715cbba1022c95bb668d45521016b0414bc25 (patch)
tree8b966973bd31407c131d8b769dfa6330987875c8 /dir.props
parent8ec9b34df095df032e37b4c20a7359e9df7ae0ce (diff)
downloadcoreclr-be3715cbba1022c95bb668d45521016b0414bc25.zip
coreclr-be3715cbba1022c95bb668d45521016b0414bc25.tar.gz
coreclr-be3715cbba1022c95bb668d45521016b0414bc25.tar.bz2
JIT: improve type equality opts for generic and prejitted code (#14381)
Handle cases where a `GetType()` call on a generically typed object feeds into a type equality comparison. These calls have constraint prefixes. For value classes the constraint tells us the type and so we can avoid the box and call and just construct that type directly. For ref classes the type test can usually reduce to a method table comparison. Also, handle cases that arise in prejiited code better, by generalizing how the jit looks for class handles from type construction trees. Added test cases. Closes #14304.
Diffstat (limited to 'dir.props')
0 files changed, 0 insertions, 0 deletions