Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 416ed7fcda6ba35b5144f95144f10348225a5723..a212cbdc7f6e73787f31750ac91ebe93df2a9c5d 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -8921,6 +8921,9 @@ class JSTypedArray: public JSArrayBufferView { |
static const int kLengthOffset = kViewSize + kPointerSize; |
static const int kSize = kLengthOffset + kPointerSize; |
+ static const int kSizeWithInternalFields = |
+ kSize + v8::ArrayBufferView::kInternalFieldCount * kPointerSize; |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSTypedArray); |
}; |
@@ -8940,6 +8943,9 @@ class JSDataView: public JSArrayBufferView { |
static const int kSize = kViewSize; |
+ static const int kSizeWithInternalFields = |
+ kSize + v8::ArrayBufferView::kInternalFieldCount * kPointerSize; |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSDataView); |
}; |