Lines Matching refs:code_map
11780 FixedArray* code_map = optimized_code_map(); in EvictFromOptimizedCodeMap() local
11782 int length = code_map->length(); in EvictFromOptimizedCodeMap()
11784 DCHECK(WeakCell::cast(code_map->get(src))->cleared() || in EvictFromOptimizedCodeMap()
11785 WeakCell::cast(code_map->get(src))->value()->IsNativeContext()); in EvictFromOptimizedCodeMap()
11786 if (WeakCell::cast(code_map->get(src + kCachedCodeOffset))->value() == in EvictFromOptimizedCodeMap()
11788 BailoutId osr(Smi::cast(code_map->get(src + kOsrAstIdOffset))->value()); in EvictFromOptimizedCodeMap()
11804 code_map->set(src + kCachedCodeOffset, heap->empty_weak_cell(), in EvictFromOptimizedCodeMap()
11810 code_map->set(dst + kContextOffset, code_map->get(src + kContextOffset)); in EvictFromOptimizedCodeMap()
11811 code_map->set(dst + kCachedCodeOffset, in EvictFromOptimizedCodeMap()
11812 code_map->get(src + kCachedCodeOffset)); in EvictFromOptimizedCodeMap()
11813 code_map->set(dst + kLiteralsOffset, in EvictFromOptimizedCodeMap()
11814 code_map->get(src + kLiteralsOffset)); in EvictFromOptimizedCodeMap()
11815 code_map->set(dst + kOsrAstIdOffset, in EvictFromOptimizedCodeMap()
11816 code_map->get(src + kOsrAstIdOffset)); in EvictFromOptimizedCodeMap()
11820 if (WeakCell::cast(code_map->get(kSharedCodeIndex))->value() == in EvictFromOptimizedCodeMap()
11823 code_map->set(kSharedCodeIndex, heap->empty_weak_cell(), in EvictFromOptimizedCodeMap()
11833 heap->RightTrimFixedArray<Heap::CONCURRENT_TO_SWEEPER>(code_map, in EvictFromOptimizedCodeMap()
11835 if (code_map->length() == kEntriesStart && in EvictFromOptimizedCodeMap()
11836 WeakCell::cast(code_map->get(kSharedCodeIndex))->cleared()) { in EvictFromOptimizedCodeMap()
11844 FixedArray* code_map = optimized_code_map(); in TrimOptimizedCodeMap() local
11846 DCHECK(shrink_by <= code_map->length() - kEntriesStart); in TrimOptimizedCodeMap()
11848 GetHeap()->RightTrimFixedArray<Heap::SEQUENTIAL_TO_SWEEPER>(code_map, in TrimOptimizedCodeMap()
11850 if (code_map->length() == kEntriesStart && in TrimOptimizedCodeMap()
11851 WeakCell::cast(code_map->get(kSharedCodeIndex))->cleared()) { in TrimOptimizedCodeMap()
13391 FixedArray* code_map = optimized_code_map(); in SearchOptimizedCodeMap() local
13397 Code::cast(WeakCell::cast(code_map->get(kSharedCodeIndex))->value()), in SearchOptimizedCodeMap()
13400 DCHECK_LE(entry + kEntryLength, code_map->length()); in SearchOptimizedCodeMap()
13401 WeakCell* cell = WeakCell::cast(code_map->get(entry + kCachedCodeOffset)); in SearchOptimizedCodeMap()
13402 Object* lits = code_map->get(entry + kLiteralsOffset); in SearchOptimizedCodeMap()