RFR: 8276563: Undefined Behaviour in class Assembler [v3]

Andrew Haley aph at openjdk.java.net
Fri Nov 19 14:03:29 UTC 2021


On Sat, 13 Nov 2021 07:03:57 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Re-establish the FloatRegister::successor() hack.
>
> src/hotspot/share/asm/register.hpp line 71:
> 
>> 69: 
>> 70: #define REGISTER_IMPL_DEFINITION(type, impl_type)                    \
>> 71: impl_type all_ ## type ## s[impl_type::number_of_declared_registers];
> 
> Would this not need attribute visibility too?

No, it's done on the declaration.

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

PR: https://git.openjdk.java.net/jdk/pull/6280


More information about the hotspot-compiler-dev mailing list