[#2612] VarSymbol.adr is a bit field

This commit is contained in:
Rawi01 authored and Roel Spilker committed 2020-10-29 22:57:46 +01:00
1 parent f04ee37f6b
commit dfbd843e5a
1 file changed
+1 -1
@@ -1241,7 +1241,7 @@ public class JavacHandlerUtil {
if (param.sym == null) {
Type paramType = paramTypes == null ? param.getType().type : paramTypes.get(i);
VarSymbol varSymbol = new VarSymbol(param.mods.flags, param.name, paramType, symtab.noSymbol);
varSymbol.adr = i;
varSymbol.adr = 1 << i;
List<JCAnnotation> annotations = param.getModifiers().getAnnotations();
if (annotations != null && !annotations.isEmpty()) {
ListBuffer<Attribute.Compound> newAnnotations = new ListBuffer<Attribute.Compound>();