Exemplo n.º 1
0
int InlinedScope::number_of_noninlined_blocks() {
  // return the number of non-inlined blocks in this scope or its callees
  int nblocks = 0;
  for (int i = bbIterator->exposedBlks->length() - 1; i >= 0; i--) {
    BlockPReg* blk = bbIterator->exposedBlks->at(i);
    if (blk->isUsed() && isSenderOrSame(blk->scope())) nblocks++;
  }
  return nblocks;
}