Home | History | Annotate | Download | only in runtime

Lines Matching refs:serial

85 // serial number in the extra bits, and keep a copy of the serial number in the table. This requires
133 // the table when expanding it (so realloc() is out), and tricks like serial number checking to
155 // since the serial stored in the indirect ref wont match.
359 static constexpr uintptr_t EncodeSerial(uint32_t serial) {
360 DCHECK_LE(MinimumBitsToStore(serial), kSerialBits);
361 return serial << kKindBits;
367 constexpr uintptr_t EncodeIndirectRef(uint32_t table_index, uint32_t serial) const {
369 return EncodeIndex(table_index) | EncodeSerial(serial) | EncodeIndirectRefKind(kind_);
381 uint32_t serial = table_[table_index].GetSerial();
382 return reinterpret_cast<IndirectRef>(EncodeIndirectRef(table_index, serial));