Lines Matching refs:Code
25 static Code::Flags CommonStubCacheChecks(Name* name, Map* map, in CommonStubCacheChecks()
26 Code::Flags flags) { in CommonStubCacheChecks()
27 flags = Code::RemoveTypeAndHolderFromFlags(flags); in CommonStubCacheChecks()
37 DCHECK_EQ(Code::HANDLER, Code::ExtractKindFromFlags(flags)); in CommonStubCacheChecks()
38 STATIC_ASSERT((Code::ICStateField::kMask & 1) == 1); in CommonStubCacheChecks()
41 DCHECK(Code::ExtractTypeFromFlags(flags) == 0); in CommonStubCacheChecks()
42 DCHECK(Code::ExtractCacheHolderFromFlags(flags) == 0); in CommonStubCacheChecks()
48 Code* StubCache::Set(Name* name, Map* map, Code* code) { in Set()
49 Code::Flags flags = CommonStubCacheChecks(name, map, code->flags()); in Set()
54 Code* old_code = primary->value; in Set()
60 Code::Flags old_flags = in Set()
61 Code::RemoveTypeAndHolderFromFlags(old_code->flags()); in Set()
77 Code* StubCache::Get(Name* name, Map* map, Code::Flags flags) { in Get()
94 Code* empty = isolate_->builtins()->builtin(Builtins::kIllegal); in Clear()
109 Code::Flags flags, in CollectMatchingMaps()