summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/objects/js-struct.tq
blob: 5da14a0d94662eaa483771f4be52ce0e139823a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2022 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.

// AlwaysSharedSpaceJSObject are JSObjects that must always be allocated in the
// shared space. Its instance type range is used to fast path the shared value
// barrier.
@abstract
extern class AlwaysSharedSpaceJSObject extends JSObject {}

extern class JSSharedStruct extends AlwaysSharedSpaceJSObject {}