javassist icon indicating copy to clipboard operation
javassist copied to clipboard

javassist constantly changing ldc2_w into ldc + i2l

Open Tonic-Box opened this issue 8 months ago • 0 comments

Javassist seems to want to try and optimize ldc2_w to ldc followed by a i2l

Which is not ideal.

At the moment it continuously transforms this:

code.addLdc2w(6238027129843276915L);

into this:

ldc -980493197
i2l

Tonic-Box avatar May 30 '24 19:05 Tonic-Box