bug fix for putfield on unresolved field
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2571 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
a3ac4d3a45
commit
6ebce2d0f5
|
@ -1306,7 +1306,9 @@ public abstract class PropagationCallGraphBuilder implements CallGraphBuilder {
|
|||
InstanceKey I = system.getInstanceKey(i);
|
||||
if (!representsNullType(I)) {
|
||||
PointerKey p = getPointerKeyForInstanceField(I, field);
|
||||
sideEffect.b |= system.newConstraint(p, instance);
|
||||
if (p != null) {
|
||||
sideEffect.b |= system.newConstraint(p, instance);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue