1// Copyright 2019 the V8 project authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5type DependentCode extends WeakFixedArray; 6 7extern class BytecodeArray extends FixedArrayBase { 8 // TODO(v8:8983): bytecode array object sizes vary based on their contents. 9 constant_pool: FixedArray; 10 handler_table: ByteArray; 11 source_position_table: Undefined|ByteArray|Exception; 12 frame_size: int32; 13 parameter_size: int32; 14 incoming_new_target_or_generator_register: int32; 15 osr_nesting_level: int8; 16 bytecode_age: int8; 17} 18 19extern class CodeDataContainer extends HeapObject; 20