/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/sandbox/code-pointer-table.cc
26 строк
735 B
Michaël Zasso
deps: update V8 to 13.6.233.8
02 май 2025, 16:06
Не верифицирован
02 май 2025, 16:06
918fe04
Код
Авторство
О чём код?
// Copyright 2023 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/sandbox/code-pointer-table.h" #include "src/common/code-memory-access-inl.h" #include "src/execution/isolate.h" #include "src/logging/counters.h" #include "src/sandbox/code-pointer-table-inl.h" #ifdef V8_COMPRESS_POINTERS namespace v8 { namespace internal { uint32_t CodePointerTable::Sweep(Space* space, Counters* counters) { uint32_t num_live_entries = GenericSweep(space); counters->code_pointers_count()->AddSample(num_live_entries); return num_live_entries; } } // namespace internal } // namespace v8 #endif // V8_COMPRESS_POINTERS