Integrated: 8305222: Change unique_ctrl_out_or_null to unique_ctrl_out in PhaseCFG::convert_NeverBranch_to_Goto
Emanuel Peter
epeter at openjdk.org
Thu Mar 30 07:29:30 UTC 2023
On Wed, 8 Mar 2023 08:51:46 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
> Replaced `unique_ctrl_out_or_null` with `unique_ctrl_out`, which asserts if it finds `nullptr`. This is better than running into a `nullptr`-dereference inside `get_block_for_node`.
>
> This was found by a static code analyzer, so it is not clear that a `nullptr` dereference would ever happen. But let's still fix it.
This pull request has now been integrated.
Changeset: 77811fa3
Author: Emanuel Peter <epeter at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/77811fa39be4ed7b50beb911c30f685377372655
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8305222: Change unique_ctrl_out_or_null to unique_ctrl_out in PhaseCFG::convert_NeverBranch_to_Goto
Reviewed-by: kvn, thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/12919
More information about the hotspot-compiler-dev
mailing list