/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/objects/cell.tq
19 строк
604 B
Michaël Zasso
deps: update V8 to 14.1.146.11
04 окт 2025, 19:47
Не верифицирован
04 окт 2025, 19:47
7772a2d
Код
Авторство
О чём код?
// Copyright 2019 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. extern class Cell extends HeapObject { maybe_value: MaybeObject; } // These strong accessors are for the cases when a Cell is known to contain // only Objects. operator '.value' macro LoadCellValue(cell: Cell): Object { const value = cell.maybe_value; dcheck(!IsWeakOrCleared(value)); return UnsafeCast<Object>(value); } operator '.value=' macro StoreCellValue(cell: Cell, value: Object): void { cell.maybe_value = value; }