finish implementation of isSubset()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@598 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
6d86515ec6
commit
322f465265
|
@ -313,8 +313,10 @@ public class BimodalMutableIntSet implements MutableIntSet {
|
|||
BimodalMutableIntSet b = (BimodalMutableIntSet) that;
|
||||
return impl.isSubset(b.impl);
|
||||
} else {
|
||||
Assertions.UNREACHABLE();
|
||||
return false;
|
||||
// slow!
|
||||
BitVectorIntSet a = new BitVectorIntSet(this);
|
||||
BitVectorIntSet b = new BitVectorIntSet(that);
|
||||
return a.isSubset(b);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue