/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/objects/bytecode-array.tq
32 строки
1 KB
Michaël Zasso
deps: update V8 to 12.9.202.18
19 сен 2024, 17:25
19 сен 2024, 17:25
5ab3140
Код
Авторство
О чём код?
// 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. type DependentCode extends WeakArrayList; @cppObjectDefinition extern class BytecodeArray extends ExposedTrustedObject { const length: Smi; wrapper: BytecodeWrapper; source_position_table: ProtectedPointer<TrustedByteArray>; handler_table: ProtectedPointer<TrustedByteArray>; constant_pool: ProtectedPointer<TrustedFixedArray>; frame_size: int32; parameter_size: uint16; max_arguments: uint16; incoming_new_target_or_generator_register: int32; @if(TAGGED_SIZE_8_BYTES) optional_padding: uint32; @ifnot(TAGGED_SIZE_8_BYTES) optional_padding: void; bytes[length]: uint8; } // A wrapper around a bytecode object that lives inside the sandbox. This can // be useful in cases where a tagged reference to a bytecode array is required, // for example because it is stored inside an array of tagged values. @cppObjectDefinition extern class BytecodeWrapper extends Struct { bytecode: TrustedPointer<BytecodeArray>; } extern class Code extends ExposedTrustedObject; extern class CodeWrapper extends Struct;