Integrated: 8349180: Remove redundant initialization in ciField constructor

Marc Chevalier duke at openjdk.org
Tue Feb 18 09:29:16 UTC 2025


On Fri, 14 Feb 2025 15:00:06 GMT, Marc Chevalier <duke at openjdk.org> wrote:

> In `ciField`'s ctor, `_name` is initialized twice. I think we can indeed apply the suggested fix and remove the second assignment. `_name` is set correctly the first time (and without the useless cast), and not modified in between.
> 
> Thanks,
> Marc

This pull request has now been integrated.

Changeset: ff05d979
Author:    Marc Chevalier <marc.chevalier at oracle.com>
Committer: Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ff05d9795322fee6def559bd6776de42b96c27dc
Stats:     2 lines in 1 file changed: 0 ins; 2 del; 0 mod

8349180: Remove redundant initialization in ciField constructor

Reviewed-by: chagedorn

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

PR: https://git.openjdk.org/jdk/pull/23637


More information about the hotspot-compiler-dev mailing list