Index: src/lookup-inl.h |
diff --git a/src/lookup-inl.h b/src/lookup-inl.h |
index 1adf227496a56d1df32b8b13fa4ccfda9807fd81..0c9cc91b2fc3ed65ae6c8b7eb02b980cc428ff80 100644 |
--- a/src/lookup-inl.h |
+++ b/src/lookup-inl.h |
@@ -63,11 +63,10 @@ LookupIterator::State LookupIterator::LookupInHolder(Map* map, |
property_details_ = descriptors->GetDetails(number_); |
} |
has_property_ = true; |
- switch (property_details_.type()) { |
- case v8::internal::CONSTANT: |
- case v8::internal::FIELD: |
+ switch (property_details_.kind()) { |
+ case v8::internal::DATA: |
return DATA; |
- case v8::internal::CALLBACKS: |
+ case v8::internal::ACCESSOR: |
return ACCESSOR; |
} |
case ACCESSOR: |