summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/template-objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/template-objects.h')
-rw-r--r--deps/v8/src/objects/template-objects.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/deps/v8/src/objects/template-objects.h b/deps/v8/src/objects/template-objects.h
index 20ad742338..7bac29206b 100644
--- a/deps/v8/src/objects/template-objects.h
+++ b/deps/v8/src/objects/template-objects.h
@@ -39,25 +39,16 @@ class CachedTemplateObject final : public Tuple3 {
// TemplateObjectDescription is a tuple of raw strings and cooked strings for
// tagged template literals. Used to communicate with the runtime for template
// object creation within the {Runtime_GetTemplateObject} method.
-class TemplateObjectDescription final : public Struct {
+class TemplateObjectDescription final
+ : public TorqueGeneratedTemplateObjectDescription<TemplateObjectDescription,
+ Struct> {
public:
- DECL_ACCESSORS(raw_strings, FixedArray)
- DECL_ACCESSORS(cooked_strings, FixedArray)
-
- DECL_CAST(TemplateObjectDescription)
-
static Handle<JSArray> GetTemplateObject(
Isolate* isolate, Handle<NativeContext> native_context,
Handle<TemplateObjectDescription> description,
Handle<SharedFunctionInfo> shared_info, int slot_id);
- DECL_PRINTER(TemplateObjectDescription)
- DECL_VERIFIER(TemplateObjectDescription)
-
- DEFINE_FIELD_OFFSET_CONSTANTS(
- Struct::kHeaderSize, TORQUE_GENERATED_TEMPLATE_OBJECT_DESCRIPTION_FIELDS)
-
- OBJECT_CONSTRUCTORS(TemplateObjectDescription, Struct);
+ TQ_OBJECT_CONSTRUCTORS(TemplateObjectDescription)
};
} // namespace internal