Lines Matching refs:JSFunction

11 // the definition of JSFunction is available (and this comment prevents
31 TQ_OBJECT_CONSTRUCTORS_IMPL(JSFunction)
33 ACCESSORS(JSFunction, raw_feedback_cell, FeedbackCell, kFeedbackCellOffset)
34 RELEASE_ACQUIRE_ACCESSORS(JSFunction, raw_feedback_cell, FeedbackCell,
37 FeedbackVector JSFunction::feedback_vector() const {
42 ClosureFeedbackCellArray JSFunction::closure_feedback_cell_array() const {
47 void JSFunction::reset_tiering_state() {
52 bool JSFunction::ChecksTieringState() { return code().checks_tiering_state(); }
54 void JSFunction::CompleteInobjectSlackTrackingIfActive() {
62 AbstractCode JSFunction::abstract_code(IsolateT* isolate) {
70 int JSFunction::length() { return shared().length(); }
72 ACCESSORS_RELAXED(JSFunction, code, CodeT, kCodeOffset)
73 RELEASE_ACQUIRE_ACCESSORS(JSFunction, code, CodeT, kCodeOffset)
76 void JSFunction::set_code(Code code, ReleaseStoreTag, WriteBarrierMode mode) {
81 Address JSFunction::code_entry_point() const {
90 DEF_GETTER(JSFunction, shared, SharedFunctionInfo) {
94 DEF_RELAXED_GETTER(JSFunction, shared, SharedFunctionInfo) {
99 void JSFunction::set_shared(SharedFunctionInfo value, WriteBarrierMode mode) {
105 TieringState JSFunction::tiering_state() const {
110 void JSFunction::set_tiering_state(TieringState state) {
116 TieringState JSFunction::osr_tiering_state() {
121 void JSFunction::set_osr_tiering_state(TieringState marker) {
126 bool JSFunction::has_feedback_vector() const {
131 bool JSFunction::has_closure_feedback_cell_array() const {
136 Context JSFunction::context() {
140 DEF_RELAXED_GETTER(JSFunction, context, Context) {
144 bool JSFunction::has_context() const {
148 JSGlobalProxy JSFunction::global_proxy() { return context().global_proxy(); }
150 NativeContext JSFunction::native_context() {
154 RELEASE_ACQUIRE_ACCESSORS_CHECKED(JSFunction, prototype_or_initial_map,
158 DEF_GETTER(JSFunction, has_prototype_slot, bool) {
162 DEF_GETTER(JSFunction, initial_map, Map) {
166 DEF_GETTER(JSFunction, has_initial_map, bool) {
171 DEF_GETTER(JSFunction, has_instance_prototype, bool) {
178 DEF_GETTER(JSFunction, has_prototype, bool) {
184 DEF_GETTER(JSFunction, has_prototype_property, bool) {
189 DEF_GETTER(JSFunction, PrototypeRequiresRuntimeLookup, bool) {
194 DEF_GETTER(JSFunction, instance_prototype, HeapObject) {
204 DEF_GETTER(JSFunction, prototype, Object) {
218 bool JSFunction::is_compiled() const {
223 bool JSFunction::ShouldFlushBaselineCode(
227 // called on a concurrent thread. JSFunction itself should be fully
235 // SFI / FV to JSFunction but it is safe in practice.
245 bool JSFunction::NeedsResetDueToFlushedBytecode() {
247 // called on a concurrent thread. JSFunction itself should be fully
261 bool JSFunction::NeedsResetDueToFlushedBaselineCode() {
265 void JSFunction::ResetIfCodeFlushed(
276 // Bytecode was flushed and function is now uncompiled, reset JSFunction