Lines Matching refs:code_map
9621 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in InstallFromOptimizedCodeMap() local
9623 FixedArray* cached_literals = FixedArray::cast(code_map->get(index + 1)); in InstallFromOptimizedCodeMap()
9627 Code* code = Code::cast(code_map->get(index)); in InstallFromOptimizedCodeMap()
9629 ASSERT(function->context()->native_context() == code_map->get(index - 1)); in InstallFromOptimizedCodeMap()
9635 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in ClearOptimizedCodeMap() local
9639 if (!code_map->get(kNextMapIndex)->IsUndefined()) { in ClearOptimizedCodeMap()
9644 ASSERT(code_map->get(kNextMapIndex)->IsUndefined()); in ClearOptimizedCodeMap()
9655 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in EvictFromOptimizedCodeMap() local
9656 for (i = kEntriesStart; i < code_map->length(); i += kEntryLength) { in EvictFromOptimizedCodeMap()
9657 ASSERT(code_map->get(i)->IsNativeContext()); in EvictFromOptimizedCodeMap()
9658 if (Code::cast(code_map->get(i + 1)) == optimized_code) { in EvictFromOptimizedCodeMap()
9668 while (i < (code_map->length() - kEntryLength)) { in EvictFromOptimizedCodeMap()
9669 code_map->set(i, code_map->get(i + kEntryLength)); in EvictFromOptimizedCodeMap()
9670 code_map->set(i + 1, code_map->get(i + 1 + kEntryLength)); in EvictFromOptimizedCodeMap()
9671 code_map->set(i + 2, code_map->get(i + 2 + kEntryLength)); in EvictFromOptimizedCodeMap()
9676 RightTrimFixedArray<FROM_MUTATOR>(GetHeap(), code_map, kEntryLength); in EvictFromOptimizedCodeMap()
9677 if (code_map->length() == kEntriesStart) { in EvictFromOptimizedCodeMap()
9685 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in TrimOptimizedCodeMap() local
9687 ASSERT(shrink_by <= code_map->length() - kEntriesStart); in TrimOptimizedCodeMap()
9689 RightTrimFixedArray<FROM_GC>(GetHeap(), code_map, shrink_by); in TrimOptimizedCodeMap()
9690 if (code_map->length() == kEntriesStart) { in TrimOptimizedCodeMap()