Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index d5815f2ecffa12f71ad39ab5a89c21088d92bf4e..208da7770691b6bc4e5d835d0a28daf686111342 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4675,6 +4675,11 @@ bool Code::contains(byte* inner_pointer) { |
ACCESSORS(JSArray, length, Object, kLengthOffset) |
+PropertyIndex JSArray::ArrayLengthIndex() { |
+ return PropertyIndex::NewHeaderIndex(kLengthOffset / kPointerSize); |
+} |
+ |
+ |
ACCESSORS(JSRegExp, data, Object, kDataOffset) |