Integrated: 8311847: Fix -Wconversion for assembler.hpp emit_int8, 16 callers

Coleen Phillimore coleenp at openjdk.org
Mon Jul 24 12:12:50 UTC 2023


On Tue, 11 Jul 2023 01:26:44 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Please review changes to fix -Wconversion warnings that come from assembler_<cpu>.cpp by adding narrow_casts to the emit_int8,16,24, and 32 functions.  And some other fixups with checked_cast.
> 
> Ran tier1 on Oracle platforms, and tier1-4 on linux-x64-debug, linux-aarch64-debug, windows-x64-debug.

This pull request has now been integrated.

Changeset: 7dd47998
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7dd47998f00712515c25fb852b6c0cf958120508
Stats:     50 lines in 5 files changed: 22 ins; 2 del; 26 mod

8311847: Fix -Wconversion for assembler.hpp emit_int8,16 callers

Reviewed-by: dlong, aph

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

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


More information about the hotspot-dev mailing list