summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/literal-objects-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/literal-objects-inl.h')
-rw-r--r--deps/v8/src/objects/literal-objects-inl.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/deps/v8/src/objects/literal-objects-inl.h b/deps/v8/src/objects/literal-objects-inl.h
index dadbd0e363..fafbb17f88 100644
--- a/deps/v8/src/objects/literal-objects-inl.h
+++ b/deps/v8/src/objects/literal-objects-inl.h
@@ -17,8 +17,10 @@ namespace internal {
OBJECT_CONSTRUCTORS_IMPL(ObjectBoilerplateDescription, FixedArray)
+CAST_ACCESSOR(ObjectBoilerplateDescription)
+
SMI_ACCESSORS(ObjectBoilerplateDescription, flags,
- FixedArray::OffsetOfElementAt(kLiteralTypeOffset));
+ FixedArray::OffsetOfElementAt(kLiteralTypeOffset))
OBJECT_CONSTRUCTORS_IMPL(ClassBoilerplate, FixedArray)
CAST_ACCESSOR(ClassBoilerplate)
@@ -30,34 +32,34 @@ BIT_FIELD_ACCESSORS(ClassBoilerplate, flags, arguments_count,
ClassBoilerplate::Flags::ArgumentsCountBits)
SMI_ACCESSORS(ClassBoilerplate, flags,
- FixedArray::OffsetOfElementAt(kFlagsIndex));
+ FixedArray::OffsetOfElementAt(kFlagsIndex))
ACCESSORS(ClassBoilerplate, static_properties_template, Object,
- FixedArray::OffsetOfElementAt(kClassPropertiesTemplateIndex));
+ FixedArray::OffsetOfElementAt(kClassPropertiesTemplateIndex))
ACCESSORS(ClassBoilerplate, static_elements_template, Object,
- FixedArray::OffsetOfElementAt(kClassElementsTemplateIndex));
+ FixedArray::OffsetOfElementAt(kClassElementsTemplateIndex))
ACCESSORS(ClassBoilerplate, static_computed_properties, FixedArray,
- FixedArray::OffsetOfElementAt(kClassComputedPropertiesIndex));
+ FixedArray::OffsetOfElementAt(kClassComputedPropertiesIndex))
ACCESSORS(ClassBoilerplate, instance_properties_template, Object,
- FixedArray::OffsetOfElementAt(kPrototypePropertiesTemplateIndex));
+ FixedArray::OffsetOfElementAt(kPrototypePropertiesTemplateIndex))
ACCESSORS(ClassBoilerplate, instance_elements_template, Object,
- FixedArray::OffsetOfElementAt(kPrototypeElementsTemplateIndex));
+ FixedArray::OffsetOfElementAt(kPrototypeElementsTemplateIndex))
ACCESSORS(ClassBoilerplate, instance_computed_properties, FixedArray,
- FixedArray::OffsetOfElementAt(kPrototypeComputedPropertiesIndex));
+ FixedArray::OffsetOfElementAt(kPrototypeComputedPropertiesIndex))
OBJECT_CONSTRUCTORS_IMPL(ArrayBoilerplateDescription, Struct)
CAST_ACCESSOR(ArrayBoilerplateDescription)
-SMI_ACCESSORS(ArrayBoilerplateDescription, flags, kFlagsOffset);
+SMI_ACCESSORS(ArrayBoilerplateDescription, flags, kFlagsOffset)
ACCESSORS(ArrayBoilerplateDescription, constant_elements, FixedArrayBase,
- kConstantElementsOffset);
+ kConstantElementsOffset)
ElementsKind ArrayBoilerplateDescription::elements_kind() const {
return static_cast<ElementsKind>(flags());