diff options
Diffstat (limited to 'deps/v8/src/objects/js-collator.h')
-rw-r--r-- | deps/v8/src/objects/js-collator.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/deps/v8/src/objects/js-collator.h b/deps/v8/src/objects/js-collator.h index 0147b80ebb0..bad0f93c67b 100644 --- a/deps/v8/src/objects/js-collator.h +++ b/deps/v8/src/objects/js-collator.h @@ -29,7 +29,7 @@ class Collator; namespace v8 { namespace internal { -class JSCollator : public JSObject { +class JSCollator : public TorqueGeneratedJSCollator<JSCollator, JSObject> { public: // ecma402/#sec-initializecollator V8_WARN_UNUSED_RESULT static MaybeHandle<JSCollator> New( @@ -42,18 +42,11 @@ class JSCollator : public JSObject { V8_EXPORT_PRIVATE static const std::set<std::string>& GetAvailableLocales(); - DECL_CAST(JSCollator) DECL_PRINTER(JSCollator) - DECL_VERIFIER(JSCollator) - -// Layout description. - DEFINE_FIELD_OFFSET_CONSTANTS(JSObject::kHeaderSize, - TORQUE_GENERATED_JS_COLLATOR_FIELDS) DECL_ACCESSORS(icu_collator, Managed<icu::Collator>) - DECL_ACCESSORS(bound_compare, Object) - OBJECT_CONSTRUCTORS(JSCollator, JSObject); + TQ_OBJECT_CONSTRUCTORS(JSCollator) }; } // namespace internal |