diff options
Diffstat (limited to 'deps/v8/src/objects/js-segment-iterator.h')
-rw-r--r-- | deps/v8/src/objects/js-segment-iterator.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/deps/v8/src/objects/js-segment-iterator.h b/deps/v8/src/objects/js-segment-iterator.h index 81ebc4dbd28..f1310233e13 100644 --- a/deps/v8/src/objects/js-segment-iterator.h +++ b/deps/v8/src/objects/js-segment-iterator.h @@ -28,7 +28,8 @@ class UnicodeString; namespace v8 { namespace internal { -class JSSegmentIterator : public JSObject { +class JSSegmentIterator + : public TorqueGeneratedJSSegmentIterator<JSSegmentIterator, JSObject> { public: // ecma402 #sec-CreateSegmentIterator V8_WARN_UNUSED_RESULT static MaybeHandle<JSSegmentIterator> Create( @@ -64,14 +65,11 @@ class JSSegmentIterator : public JSObject { int32_t start, int32_t end) const; - DECL_CAST(JSSegmentIterator) - // SegmentIterator accessors. DECL_ACCESSORS(icu_break_iterator, Managed<icu::BreakIterator>) DECL_ACCESSORS(unicode_string, Managed<icu::UnicodeString>) DECL_PRINTER(JSSegmentIterator) - DECL_VERIFIER(JSSegmentIterator) inline void set_granularity(JSSegmenter::Granularity granularity); inline JSSegmenter::Granularity granularity() const; @@ -83,14 +81,7 @@ class JSSegmentIterator : public JSObject { STATIC_ASSERT(JSSegmenter::Granularity::WORD <= GranularityBits::kMax); STATIC_ASSERT(JSSegmenter::Granularity::SENTENCE <= GranularityBits::kMax); - // [flags] Bit field containing various flags about the function. - DECL_INT_ACCESSORS(flags) - -// Layout description. - DEFINE_FIELD_OFFSET_CONSTANTS(JSObject::kHeaderSize, - TORQUE_GENERATED_JS_SEGMENT_ITERATOR_FIELDS) - - OBJECT_CONSTRUCTORS(JSSegmentIterator, JSObject); + TQ_OBJECT_CONSTRUCTORS(JSSegmentIterator) }; } // namespace internal |