Lines Matching defs:const
199 static const bool kFeedbackVectorMaybeOptimizedCodeIsStoreRelease = true;
209 inline bool is_empty() const;
211 inline FeedbackMetadata metadata() const;
212 inline FeedbackMetadata metadata(AcquireLoadTag tag) const;
223 inline CodeT optimized_code() const;
225 inline bool has_optimized_code() const;
229 inline bool maybe_has_optimized_code() const;
233 const char* reason);
236 inline TieringState tiering_state() const;
251 inline MaybeObject SynchronizedGet(FeedbackSlot slot) const;
257 inline MaybeObject Get(FeedbackSlot slot) const;
258 inline MaybeObject Get(PtrComprCageBase cage_base, FeedbackSlot slot) const;
262 inline Handle<FeedbackCell> GetClosureFeedbackCell(int index) const;
263 inline FeedbackCell closure_feedback_cell(int index) const;
269 V8_EXPORT_PRIVATE FeedbackSlotKind GetKind(FeedbackSlot slot) const;
271 AcquireLoadTag tag) const;
273 FeedbackSlot GetTypeProfileSlot() const;
286 bool Name(FeedbackSlot slot) const { return Name##Kind(GetKind(slot)); }
301 inline TypeofMode GetTypeofMode(FeedbackSlot slot) const {
306 inline LanguageMode GetLanguageMode(FeedbackSlot slot) const {
370 int slot_count() const { return static_cast<int>(slot_kinds_.size()); }
371 int create_closure_slot_count() const { return create_closure_slot_count_; }
375 FeedbackSlotKind GetKind(FeedbackSlot slot) const {
379 bool HasTypeProfileSlot() const;
384 static const int kTypeProfileSlotIndex = 0;
529 inline int32_t slot_count(AcquireLoadTag) const;
534 bool SpecDiffersFrom(const FeedbackVectorSpec* other_spec) const;
536 inline bool is_empty() const;
539 V8_EXPORT_PRIVATE FeedbackSlotKind GetKind(FeedbackSlot slot) const;
544 IsolateT* isolate, const FeedbackVectorSpec* spec = nullptr);
549 static const char* Kind2String(FeedbackSlotKind kind);
550 bool HasTypeProfileSlot() const;
573 inline int32_t get(int index) const;
581 inline int length() const;
583 static const int kFeedbackSlotKindBits = 5;
615 inline bool HasNext() const;
620 FeedbackSlotKind kind() const {
627 inline int entry_size() const;
630 FeedbackMetadata metadata() const {
669 Mode mode() const {
673 Isolate* isolate() const { return isolate_; }
675 MaybeObjectHandle NewHandle(MaybeObject object) const;
677 Handle<T> NewHandle(T object) const;
679 bool can_write() const { return mode() == MainThread; }
682 FeedbackSlot slot) const;
685 WriteBarrierMode mode = UPDATE_WRITE_BARRIER) const;
688 FeedbackSlot slot) const;
692 WriteBarrierMode mode_extra) const;
700 Isolate* const isolate_;
701 LocalHeap* const local_heap_;
714 const NexusConfig& config);
716 const NexusConfig* config() const { return &config_; }
717 Handle<FeedbackVector> vector_handle() const {
721 FeedbackVector vector() const {
725 FeedbackSlot slot() const { return slot_; }
726 FeedbackSlotKind kind() const { return kind_; }
728 inline LanguageMode GetLanguageMode() const {
732 InlineCacheState ic_state() const;
733 bool IsUninitialized() const {
736 bool IsMegamorphic() const {
739 bool IsGeneric() const { return ic_state() == InlineCacheState::GENERIC; }
744 Map GetFirstMap() const;
745 int ExtractMaps(MapHandles* maps) const;
752 TryUpdateHandler map_handler = TryUpdateHandler()) const;
753 MaybeObjectHandle FindHandlerForMap(Handle<Map> map) const;
759 std::vector<MapAndFeedback>* maps_and_feedback) const;
761 bool IsCleared() const {
774 inline MaybeObject GetFeedback() const;
775 inline MaybeObject GetFeedbackExtra() const;
776 inline std::pair<MaybeObject, MaybeObject> GetFeedbackPair() const;
778 inline Isolate* GetIsolate() const;
781 const MaybeObjectHandle& handler);
784 Handle<Name> name, std::vector<MapAndHandler> const& maps_and_handlers);
786 void ConfigureMegaDOM(const MaybeObjectHandle& handler);
788 BinaryOperationHint GetBinaryOperationFeedback() const;
789 CompareOperationHint GetCompareOperationFeedback() const;
790 ForInHint GetForInFeedback() const;
793 KeyedAccessLoadMode GetKeyedAccessLoadMode() const;
796 KeyedAccessStoreMode GetKeyedAccessStoreMode() const;
799 IcCheckType GetKeyType() const;
800 Name GetName() const;
817 MaybeHandle<JSObject> GetConstructorFeedback() const;
824 void ConfigureHandlerMode(const MaybeObjectHandle& handler);
849 std::vector<int> GetSourcePositions() const;
850 std::vector<Handle<String>> GetTypesForSourcePositions(uint32_t pos) const;
861 inline MaybeObject UninitializedSentinel() const;
862 inline MaybeObject MegamorphicSentinel() const;
863 inline MaybeObject MegaDOMSentinel() const;
869 inline MaybeObject FromHandle(MaybeObjectHandle slot) const;
870 inline MaybeObjectHandle ToHandle(MaybeObject value) const;
889 explicit FeedbackIterator(const FeedbackNexus* nexus);