RFR: 8325467: Support methods with many arguments in C2
Dean Long
dlong at openjdk.org
Thu Aug 8 19:41:35 UTC 2024
On Wed, 7 Aug 2024 10:58:57 GMT, Daniel Lundén <dlunden at openjdk.org> wrote:
> Do you know why we use int in OptoReg but short in OptoRegPair? I don't see why we should not change it to short in OptoReg as well for consistency.
I don't know the reason for the inconsistency. I agree they should use the same type. I suggest using OptoReg::Name in OptoRegPair, and changing its type to short, along with checks that we don't overflow the smaller value.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20404#issuecomment-2276526582
More information about the hotspot-compiler-dev
mailing list