Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: src/lookup-inl.h

Issue 805453002: Introduced PropertyType ACCESSOR_FIELD. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698