Lines Matching refs:shared_info
770 void AddCandidate(SharedFunctionInfo* shared_info) { in AddCandidate() argument
771 SetNextCandidate(shared_info, shared_function_info_candidates_head_); in AddCandidate()
772 shared_function_info_candidates_head_ = shared_info; in AddCandidate()
1222 SharedFunctionInfo* shared_info = function->unchecked_shared(); in IsFlushable() local
1228 if (!Marking::MarkBitFrom(shared_info).Get()) { in IsFlushable()
1229 shared_info->set_code_age(0); in IsFlushable()
1235 if (function->code() != shared_info->code()) { in IsFlushable()
1239 return IsFlushable(heap, shared_info); in IsFlushable()
1242 inline static bool IsFlushable(Heap* heap, SharedFunctionInfo* shared_info) { in IsFlushable() argument
1246 Marking::MarkBitFrom(shared_info->code()); in IsFlushable()
1253 if (!(shared_info->is_compiled() && HasSourceCode(heap, shared_info))) { in IsFlushable()
1258 Object* function_data = shared_info->function_data(); in IsFlushable()
1264 if (shared_info->code()->kind() != Code::FUNCTION) { in IsFlushable()
1269 if (!shared_info->allows_lazy_compilation()) { in IsFlushable()
1274 if (shared_info->is_toplevel()) { in IsFlushable()
1279 if (shared_info->code_age() < kCodeAgeThreshold) { in IsFlushable()
1280 shared_info->set_code_age(shared_info->code_age() + 1); in IsFlushable()
1505 SharedFunctionInfo* shared_info = object->unchecked_shared(); in VisitJSFunctionFields() local
1506 MarkBit shared_info_mark = Marking::MarkBitFrom(shared_info); in VisitJSFunctionFields()
1508 Map* shared_info_map = shared_info->map(); in VisitJSFunctionFields()
1511 heap->mark_compact_collector()->SetMark(shared_info, shared_info_mark); in VisitJSFunctionFields()
1515 shared_info, in VisitJSFunctionFields()