Lines Matching defs:slot

32   // This kind means that the slot points to the middle of other slot
245 // Conversion from a slot to an integer index to the underlying array.
246 static int GetIndex(FeedbackSlot slot) { return slot.ToInt(); }
248 // Conversion from an integer index to the underlying array to a slot.
251 inline MaybeObject SynchronizedGet(FeedbackSlot slot) const;
252 inline void SynchronizedSet(FeedbackSlot slot, MaybeObject value,
254 inline void SynchronizedSet(FeedbackSlot slot, Object value,
257 inline MaybeObject Get(FeedbackSlot slot) const;
258 inline MaybeObject Get(PtrComprCageBase cage_base, FeedbackSlot slot) const;
268 // Returns slot kind for given slot.
269 V8_EXPORT_PRIVATE FeedbackSlotKind GetKind(FeedbackSlot slot) const;
270 V8_EXPORT_PRIVATE FeedbackSlotKind GetKind(FeedbackSlot slot,
286 bool Name(FeedbackSlot slot) const { return Name##Kind(GetKind(slot)); }
300 // Returns typeof mode encoded into kind of given slot.
301 inline TypeofMode GetTypeofMode(FeedbackSlot slot) const {
302 return GetTypeofModeFromSlotKind(GetKind(slot));
305 // Returns language mode encoded into kind of given slot.
306 inline LanguageMode GetLanguageMode(FeedbackSlot slot) const {
307 return GetLanguageModeFromSlotKind(GetKind(slot));
312 void FeedbackSlotPrint(std::ostream& os, FeedbackSlot slot);
346 inline void Set(FeedbackSlot slot, MaybeObject value,
348 inline void Set(FeedbackSlot slot, Object value,
360 // Don't expose the raw feedback slot getter/setter.
375 FeedbackSlotKind GetKind(FeedbackSlot slot) const {
376 return slot_kinds_.at(slot.ToInt());
381 // If used, the TypeProfileSlot is always added as the first slot and its
492 // Helper class that creates a feedback slot on-demand.
495 // FeedbackSlot default constructor constructs an invalid slot.
510 // FeedbackMetadata is an array-like object with a slot count (indicating how
531 // Returns number of feedback vector elements used by given slot kind.
538 // Returns slot kind for given slot.
539 V8_EXPORT_PRIVATE FeedbackSlotKind GetKind(FeedbackSlot slot) const;
572 // Raw accessors to the encoded slot data.
587 void SetKind(FeedbackSlot slot, FeedbackSlotKind kind);
619 // Returns slot kind of the last slot returned by Next().
626 // Returns entry size of the last slot returned by Next().
682 FeedbackSlot slot) const;
683 inline void SetFeedback(FeedbackVector vector, FeedbackSlot slot,
688 FeedbackSlot slot) const;
704 // A FeedbackNexus is the combination of a FeedbackVector and a slot.
708 FeedbackNexus(Handle<FeedbackVector> vector, FeedbackSlot slot);
709 FeedbackNexus(FeedbackVector vector, FeedbackSlot slot);
713 FeedbackNexus(Handle<FeedbackVector> vector, FeedbackSlot slot,
725 FeedbackSlot slot() const { return slot_; }
729 return vector().GetLanguageMode(slot());
865 // Create an array. The caller must install it in a feedback vector slot.
869 inline MaybeObject FromHandle(MaybeObjectHandle slot) const;