Integrated: 8294053: Unneeded local variable in handle_safefetch()

Fredrik Bredberg duke at openjdk.org
Fri Sep 23 12:37:51 UTC 2022


On Wed, 21 Sep 2022 10:11:55 GMT, Fredrik Bredberg <duke at openjdk.org> wrote:

> The input argument "pc" is shadowed by a local variable with the same type and name, and is initialized to the same value as is passed into the handle_safefetch() function by its callers. The local "pc" variable can therefore be removed from handle_safefetch().
> 
> Tested tier1, tier2 and  tier3 without any new problems.

This pull request has now been integrated.

Changeset: acd75e0f
Author:    Fredrik Bredberg <fredrik.bredberg at oracle.com>
Committer: Robbin Ehn <rehn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/acd75e0f1cddf8307bf0ef4f95a6f11051c30bc2
Stats:     1 line in 1 file changed: 0 ins; 1 del; 0 mod

8294053: Unneeded local variable in handle_safefetch()

Reviewed-by: rehn, stuefe, shade

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

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


More information about the hotspot-runtime-dev mailing list