RFR: 8255672: Replace PhaseTransform::eqv by pointer equality check [v2]

Christian Hagedorn chagedorn at openjdk.java.net
Mon Nov 2 15:09:58 UTC 2020


On Mon, 2 Nov 2020 14:54:07 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> `PhaseTransform::eqv(n1, n2)` can be replaced by `n1 == n2`. Code in adlc also refers to it but already uses `==` instead.
>> 
>> Thanks,
>> Tobias
>
> Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added missing whitespace

Yes, I think that is reasonable to leave the code as it is and only do the clean-ups directly related to `PhaseTransform::eqv`. Looks good!

-------------

Marked as reviewed by chagedorn (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/999


More information about the hotspot-compiler-dev mailing list