Chromium Code Reviews| Index: src/property.h |
| diff --git a/src/property.h b/src/property.h |
| index a94754061a2ec6bbf0f8cb38e1f06af3a3cfab9f..78f30efca3e75ba903a19085b784b44fa1730b18 100644 |
| --- a/src/property.h |
| +++ b/src/property.h |
| @@ -328,6 +328,11 @@ class LookupResult BASE_EMBEDDED { |
| return number_; |
| } |
| + int GetDescriptorIndex() { |
| + ASSERT(lookup_type_ == DESCRIPTOR_TYPE); |
| + return number_; |
| + } |
| + |
| int GetFieldIndex() { |
| ASSERT(lookup_type_ == DESCRIPTOR_TYPE); |
| ASSERT(IsField()); |