RFR: 8267982: Set the node after peephole optimization to be removed [v7]

SUN Guoyun github.com+40024232+sunny868 at openjdk.java.net
Fri Jun 25 03:07:31 UTC 2021


On Fri, 25 Jun 2021 01:56:46 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> SUN Guoyun has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8267982: Set the node after peephole optimization to be removed
>
> src/hotspot/share/opto/buildOopMap.cpp line 474:
> 
>> 472:             if( OptoReg::is_valid(first) ) set_live_bit(tmp_live,first);
>> 473:             if( OptoReg::is_valid(second) ) set_live_bit(tmp_live,second);
>> 474:           }
> 
> Code style. Use next pattern in code you modified (body on separate line and no spaces before/after condition):
> 
> if (cond) {
>   foo;
> }
> ``` 
> We want to correct style in all places eventually as we work on code.

Done

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

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


More information about the hotspot-compiler-dev mailing list