1// Copyright 2020 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 5#include 'src/objects/js-segments.h' 6 7bitfield struct JSSegmentsFlags extends uint31 { 8 granularity: JSSegmenterGranularity: 2 bit; 9} 10 11extern class JSSegments extends JSObject { 12 icu_break_iterator: Foreign; // Managed<icu::BreakIterator> 13 unicode_string: Foreign; // Managed<icu::UnicodeString> 14 flags: SmiTagged<JSSegmentsFlags>; 15} 16