Index: src/lookup.h |
diff --git a/src/lookup.h b/src/lookup.h |
index ba75d0d2033c06dc5bb9efb196b38662c188e690..9556ec92be452dc05407a32d8d3fc9755ca7b339 100644 |
--- a/src/lookup.h |
+++ b/src/lookup.h |
@@ -145,12 +145,6 @@ |
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, |
@@ -180,6 +174,11 @@ |
int descriptor_number() const { |
DCHECK(has_property_); |
DCHECK(!holder_map_->is_dictionary_map()); |
+ return number_; |
+ } |
+ int dictionary_entry() const { |
+ DCHECK(has_property_); |
+ DCHECK(holder_map_->is_dictionary_map()); |
return number_; |
} |