Lines 93-98
public class UnconditionalFlowInfo extends FlowInfo {
Link Here
|
93 |
// Constants |
93 |
// Constants |
94 |
public static final int BitCacheSize = 64; // 64 bits in a long. |
94 |
public static final int BitCacheSize = 64; // 64 bits in a long. |
95 |
public int[] nullStatusChangedInAssert; // https://bugs.eclipse.org/bugs/show_bug.cgi?id=303448 |
95 |
public int[] nullStatusChangedInAssert; // https://bugs.eclipse.org/bugs/show_bug.cgi?id=303448 |
|
|
96 |
public long constantFieldsMask; |
97 |
public long extraConstantFieldMask[]; |
96 |
private static final int AccConstant = ClassFileConstants.AccStatic|ClassFileConstants.AccFinal; |
98 |
private static final int AccConstant = ClassFileConstants.AccStatic|ClassFileConstants.AccFinal; |
97 |
|
99 |
|
98 |
public static final int indexOfConstantFieldBitStream = 6; // the index just after nullBit4 i.e. extraLength |
100 |
public static final int indexOfConstantFieldBitStream = 6; // the index just after nullBit4 i.e. extraLength |
Lines 1605-1611
public void updateConstantFieldsMask(FieldBinding field) {
Link Here
|
1605 |
* All the infos originate in TypeDeclaration.analyseCode(). So making sure that this method is called for every info that is sent into |
1607 |
* All the infos originate in TypeDeclaration.analyseCode(). So making sure that this method is called for every info that is sent into |
1606 |
* methods/constructors should be sufficient |
1608 |
* methods/constructors should be sufficient |
1607 |
*/ |
1609 |
*/ |
1608 |
public void addConstantFieldsMask(FlowInfo other) { |
1610 |
public void addConstantFieldsMask(UnconditionalFlowInfo other) { |
1609 |
this.constantFieldsMask |= other.constantFieldsMask; |
1611 |
this.constantFieldsMask |= other.constantFieldsMask; |
1610 |
if (other.extraConstantFieldMask != null) { |
1612 |
if (other.extraConstantFieldMask != null) { |
1611 |
int oldLength = 0; |
1613 |
int oldLength = 0; |