equal
deleted
inserted
replaced
121 while (offset >= N_words) { |
121 while (offset >= N_words) { |
122 // The excess of the offset from N_words indicates a power of Base |
122 // The excess of the offset from N_words indicates a power of Base |
123 // to go back by. |
123 // to go back by. |
124 size_t n_cards_back = BlockOffsetArray::entry_to_cards_back(offset); |
124 size_t n_cards_back = BlockOffsetArray::entry_to_cards_back(offset); |
125 q -= (N_words * n_cards_back); |
125 q -= (N_words * n_cards_back); |
126 assert(q >= gsp()->bottom(), "Went below bottom!"); |
|
127 index -= n_cards_back; |
126 index -= n_cards_back; |
128 offset = _array->offset_array(index); |
127 offset = _array->offset_array(index); |
129 } |
128 } |
130 assert(offset < N_words, "offset too large"); |
129 assert(offset < N_words, "offset too large"); |
131 q -= offset; |
130 q -= offset; |