Chromium Code Reviews| Index: src/lookup.cc |
| diff --git a/src/lookup.cc b/src/lookup.cc |
| index e4751177fd6b73624f48f8f3be80d08bbf66d855..c658a90e63fb816f831d7c82caa931579388cd01 100644 |
| --- a/src/lookup.cc |
| +++ b/src/lookup.cc |
| @@ -238,6 +238,14 @@ Handle<Object> LookupIterator::FetchValue() const { |
| } |
| +int LookupIterator::GetAccessorIndex() const { |
| + DCHECK(has_property_); |
| + DCHECK(!holder_map_->is_dictionary_map()); |
| + DCHECK_EQ(v8::internal::ACCESSOR_CONSTANT, property_details_.type()); |
| + return descriptor_number(); |
| +} |
| + |
| + |
| int LookupIterator::GetConstantIndex() const { |
| DCHECK(has_property_); |
| DCHECK(!holder_map_->is_dictionary_map()); |