Jit always null checks x64 VSD calls, even if it's proven the object can't be null #9027
Labels
arch-x64
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
enhancement
Product code improvement that does NOT require public API changes/additions
Milestone
Lowering::LowerVirtualStubCall
always null checks on x64, unless the call is via tail call helper, even if upstream phases have proven that the object can't be null.See discussion in #8953, where Jan mentions fixing the runtime issue that makes this necessary. However we should also consider fixing this in the jit, so the null check can be bypassed when it is safe to do so.
category:cq
theme:basic-cq
skill-level:intermediate
cost:medium
The text was updated successfully, but these errors were encountered: