void BCEscapeAnalyzer::clear_bits(ArgumentMap vars, BitMap &bm) {
  for (int i = 0; i <= _arg_size; i++) {
    if (vars.contains(i)) {
      bm.clear_bit(i);
    }
  }
}
Beispiel #2
0
inline void ValueSet::remove(Value x) {
  _map.clear_bit(x->id());
}
 WithBitClear(BitMap& bm, idx_t index) : _bm(bm), _index(index) {
   // Failure may indicate test bug; can't use ASSERT_xxx in constructor.
   EXPECT_TRUE(_bm.at(_index));
   bm.clear_bit(_index);
 }