diff options
Diffstat (limited to 'deps/v8/src/objects/js-display-names.h')
-rw-r--r-- | deps/v8/src/objects/js-display-names.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/deps/v8/src/objects/js-display-names.h b/deps/v8/src/objects/js-display-names.h index c656a257793..cd3ca1ea475 100644 --- a/deps/v8/src/objects/js-display-names.h +++ b/deps/v8/src/objects/js-display-names.h @@ -25,7 +25,8 @@ namespace internal { class DisplayNamesInternal; -class JSDisplayNames : public JSObject { +class JSDisplayNames + : public TorqueGeneratedJSDisplayNames<JSDisplayNames, JSObject> { public: // Creates display names object with properties derived from input // locales and options. @@ -65,8 +66,6 @@ class JSDisplayNames : public JSObject { inline void set_fallback(Fallback fallback); inline Fallback fallback() const; - DECL_CAST(JSDisplayNames) - // Bit positions in |flags|. DEFINE_TORQUE_GENERATED_JS_DISPLAY_NAMES_FLAGS() @@ -76,19 +75,11 @@ class JSDisplayNames : public JSObject { STATIC_ASSERT(Fallback::kCode <= FallbackBit::kMax); STATIC_ASSERT(Fallback::kNone <= FallbackBit::kMax); - // [flags] Bit field containing various flags about the function. - DECL_INT_ACCESSORS(flags) - DECL_ACCESSORS(internal, Managed<DisplayNamesInternal>) DECL_PRINTER(JSDisplayNames) - DECL_VERIFIER(JSDisplayNames) - - // Layout description. - DEFINE_FIELD_OFFSET_CONSTANTS(JSObject::kHeaderSize, - TORQUE_GENERATED_JS_DISPLAY_NAMES_FIELDS) - OBJECT_CONSTRUCTORS(JSDisplayNames, JSObject); + TQ_OBJECT_CONSTRUCTORS(JSDisplayNames) }; } // namespace internal |