Lines Matching defs:last_id
507 Smi last_id = Smi::cast(last_script_id_slot.Relaxed_Load());
510 if (last_id.value() == Smi::kMaxValue) {
514 new_id = Smi::FromInt(last_id.value() + 1);
519 // old value (last_id), and keep looping (with the new last_id value) if it
521 last_id_before_cas = last_id;
522 last_id =
523 Smi::cast(last_script_id_slot.Relaxed_CompareAndSwap(last_id, new_id));
524 } while (last_id != last_id_before_cas);
530 int last_id = last_debugging_id().value();
531 if (last_id == DebugInfo::DebuggingIdBits::kMax) {
532 last_id = DebugInfo::kNoDebuggingId;
534 last_id++;
535 set_last_debugging_id(Smi::FromInt(last_id));
536 return last_id;