Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 93cb0fc809c5d6cd83c6adb5346b14cd926fa8f9..6e7b116283c4f1b91bc1f935ce7fc3d2ce89ae4f 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1928,6 +1928,10 @@ String* DescriptorArray::GetKey(int descriptor_number) { |
return String::cast(get(ToKeyIndex(descriptor_number))); |
} |
Michael Starzinger
2012/05/24 14:28:54
Two lines between top-level declarations.
Toon Verwaest
2012/05/25 12:27:26
Done.
|
+Object** DescriptorArray::GetValueSlot(int descriptor_number) { |
+ ASSERT(descriptor_number < number_of_descriptors()); |
+ return GetContentArray()->data_start() + ToValueIndex(descriptor_number); |
+} |
Michael Starzinger
2012/05/24 14:28:54
Likewise.
Toon Verwaest
2012/05/25 12:27:26
Done.
|
Object* DescriptorArray::GetValue(int descriptor_number) { |
ASSERT(descriptor_number < number_of_descriptors()); |