RFR: 8294053: Unneeded local variable in handle_safefetch()
Fredrik Bredberg
duke at openjdk.org
Thu Sep 22 07:28:00 UTC 2022
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.
-------------
Commit messages:
- Removed unneeded local pc variable in handle_safefetch().
Changes: https://git.openjdk.org/jdk/pull/10373/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10373&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8294053
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/10373.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10373/head:pull/10373
PR: https://git.openjdk.org/jdk/pull/10373
More information about the hotspot-runtime-dev
mailing list