RFR: 8282555: Missing memory edge when spilling MoveF2I, MoveD2L etc [v3]
Emanuel Peter
duke at openjdk.java.net
Wed May 4 07:24:15 UTC 2022
On Wed, 4 May 2022 06:00:23 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> @jatin-bhateja Thanks, I added it :)
>
> `memory_operand()` returns a `MachOper*`, we should not compare it to `0` but to `nullptr` (see https://github.com/openjdk/jdk/blob/master/doc/hotspot-style.md).
@TobiHartmann thanks for the feedback, I had assumed it had the same return as `int InstructForm::memory_operand`, but that is not the case. Will change it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7889
More information about the hotspot-compiler-dev
mailing list