RFR: 8349180: Remove redundant initialization in ciField constructor
duke
duke at openjdk.org
Tue Feb 18 09:19:10 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
@marc-chevalier
Your change (at version 1f37759cbf1712896b26cf054cc676184d67bfd5) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23637#issuecomment-2665034158
More information about the hotspot-compiler-dev
mailing list