runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Jit interface: add helper method to raise NullReferenceException

Open JosephTremoulet opened this issue 11 years ago • 4 comments

This should be similar to the existing helpers for OverflowException and DivideByZeroException. Adding this will simplify the task of a jit implementing implicit MSIL null checks.

Per @jkotas, implementation should be straight-forward boilerplate, so I'm tentatively assigning this to myself and will take a stab at putting a PR together.

JosephTremoulet avatar Feb 26 '15 15:02 JosephTremoulet

@russellhadley is working on JIT-EE interface change as well - it may be easiest to fold the two together.

jkotas avatar Feb 26 '15 15:02 jkotas

@russellhadley, what do you think? Do you want to pull my changes in with yours, or should we go separate?

JosephTremoulet avatar Feb 26 '15 21:02 JosephTremoulet

Joe let's pull your changes in with mine. I'll also need to fold these in with my superPMI changes. To maintain the SuperPMI testing harness parallel changes need to be made in other source code. (and I've already worked through how to test it)

russellhadley avatar Feb 27 '15 16:02 russellhadley

Fixed by dotnet/coreclr#485

jkotas avatar Mar 20 '15 12:03 jkotas