Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid ptrtoint when checking if a pointer is null
Casting the pointer to an integer requires a ptrtoint, while casting 0 to a pointer is directly folded to a `null` value.
- Loading branch information