/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/sandbox/cppheap-pointer.h
29 строк
1 KB
Michaël Zasso
deps: update V8 to 14.3.127.12
13 ноя 2025, 17:08
Не верифицирован
13 ноя 2025, 17:08
53379f3
Код
Авторство
О чём код?
// Copyright 2025 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. #ifndef V8_SANDBOX_CPPHEAP_POINTER_H_ #define V8_SANDBOX_CPPHEAP_POINTER_H_ #include "include/v8-sandbox.h" #include "src/sandbox/isolate.h" namespace v8::internal { // TODO(saelo): consider passing a CppHeapPointerTagRange as template parameter // once C++20 is supported everywhere. template <CppHeapPointerTag lower_bound, CppHeapPointerTag upper_bound> V8_INLINE Address ReadCppHeapPointerField(Address field_address, IsolateForPointerCompression isolate); V8_INLINE Address ReadCppHeapPointerField(Address field_address, IsolateForPointerCompression isolate, CppHeapPointerTagRange tag_range); V8_INLINE void WriteLazilyInitializedCppHeapPointerField( Address field_address, IsolateForPointerCompression isolate, Address value, CppHeapPointerTag tag); } // namespace v8::internal #endif // V8_SANDBOX_CPPHEAP_POINTER_H_