Index: src/layout-descriptor.h |
diff --git a/src/layout-descriptor.h b/src/layout-descriptor.h |
index 0a14f53198f5c4fd48dd78b28d4b33d5d8792526..b68decfa418cf7af344bb823b7e965a6c27453a6 100644 |
--- a/src/layout-descriptor.h |
+++ b/src/layout-descriptor.h |
@@ -22,7 +22,7 @@ namespace internal { |
// of the descriptor then the field is also considered tagged. |
// Once a layout descriptor is created it is allowed only to append properties |
// to it. |
-class LayoutDescriptor : public FixedTypedArray<Uint32ArrayTraits> { |
+class LayoutDescriptor : public JSTypedArray { |
public: |
V8_INLINE bool IsTagged(int field_index); |
@@ -89,6 +89,9 @@ class LayoutDescriptor : public FixedTypedArray<Uint32ArrayTraits> { |
// Capacity of layout descriptors in bits. |
V8_INLINE int capacity(); |
+ V8_INLINE uint32_t get_scalar(int index); |
+ V8_INLINE void set(int index, uint32_t value); |
+ |
static Handle<LayoutDescriptor> NewForTesting(Isolate* isolate, int length); |
LayoutDescriptor* SetTaggedForTesting(int field_index, bool tagged); |