There is an inconsistency about whether register categories used with Node and those used with Type are signed.
- The Node class defines "uint Node::ideal_reg()" and "uint Node::NotAMachineReg" is a special value which "must be > max. machine register".
- The Type class has "int ideal_reg()" which deals in the same values.
This mostly results in some implicit potentially narrowing conversions in various places, due to the chosen value of NotAMachineReg. However, the initialization of the Type::_type_info array includes some having their ideal_reg member initialized to NotAMachineReg. Such implicit narrowings are forbidden by C++11.
The invalid narrowings could be worked around via casts. But that's building in assumptions about the value of NotAMachineReg. And it seems like it might be better to remove the inconsistency, if possible.
[This is a followup to JDK-8160353.]