Index: src/lookup.h |
diff --git a/src/lookup.h b/src/lookup.h |
index 9556ec92be452dc05407a32d8d3fc9755ca7b339..ba75d0d2033c06dc5bb9efb196b38662c188e690 100644 |
--- a/src/lookup.h |
+++ b/src/lookup.h |
@@ -145,6 +145,12 @@ class LookupIterator final BASE_EMBEDDED { |
Handle<Object> WriteDataValue(Handle<Object> value); |
void InternalizeName(); |
+ int dictionary_entry() const { |
+ DCHECK(has_property_); |
+ DCHECK(holder_map_->is_dictionary_map()); |
+ return number_; |
+ } |
+ |
private: |
enum class InterceptorState { |
kUninitialized, |
@@ -176,11 +182,6 @@ class LookupIterator final BASE_EMBEDDED { |
DCHECK(!holder_map_->is_dictionary_map()); |
return number_; |
} |
- int dictionary_entry() const { |
- DCHECK(has_property_); |
- DCHECK(holder_map_->is_dictionary_map()); |
- return number_; |
- } |
static Configuration ComputeConfiguration( |
Configuration configuration, Handle<Name> name) { |