Re: Null check elimination & other stuff
Rhys Weatherley <[email protected]>
| Newsgroups | gmane.comp.gnu.dotgnu.developer |
|---|---|
| Organization | Southern Storm Software, Pty Ltd |
| Message-ID | <[email protected]> |
On Wednesday 16 June 2004 02:30 am, Thong (Tum) Nguyen wrote: > Weird. Is it possible to simply mark the first page as not readable? You can probably use mprotect to change the permissions on the zero page. Have a look at Kaffe. I seem to recall that it does this on some platforms. Anyway, it is OK to do manual null checks on platforms where it is too hard to do the tricky null checks. Cheers, Rhys.