Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index fe7d51b3fb8d850ed75ed64f2745a9d447825260..1f53eb7a9c09743e0754ab78be9749a820a7086e 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2982,6 +2982,11 @@ Object** DescriptorArray::GetValueSlot(int descriptor_number) { |
} |
+int DescriptorArray::GetValueOffset(int descriptor_number) { |
+ return OffsetOfElementAt(ToValueIndex(descriptor_number)); |
+} |
+ |
+ |
Object* DescriptorArray::GetValue(int descriptor_number) { |
DCHECK(descriptor_number < number_of_descriptors()); |
return get(ToValueIndex(descriptor_number)); |