Skip to content

Commit

Permalink
Fix InclusionBasedPointerAnalysis.TOP (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
xeren authored Sep 10, 2024
1 parent 669e83a commit 951f326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ private static boolean isTrivial(Modifier modifier) {
return modifier.offset == 0 && isConstant(modifier);
}

private static final List<Integer> TOP = List.of(1);
private static final List<Integer> TOP = List.of(-1);

private static final Modifier RELAXED_MODIFIER = new Modifier(0, TOP);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void fieldinsensitive0() throws InvalidConfigurationException {

@Test
public void full0() throws InvalidConfigurationException {
program0(FULL, MAY, MAY, NONE, NONE, NONE, NONE);
program0(FULL, NONE, MAY, NONE, NONE, NONE, NONE);
}

private void program0(Alias method, Result... expect) throws InvalidConfigurationException {
Expand Down

0 comments on commit 951f326

Please sign in to comment.