blob: e5bf52d3fd213d0543e9c53dba3c873d56d74f03 [file]
// 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
@cppObjectLayoutDefinition
extern class AlwaysSharedSpaceJSObject extends JSObject {}
@cppObjectLayoutDefinition
extern class JSSharedStruct extends AlwaysSharedSpaceJSObject {}