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

Unified Diff: src/objects.cc

Issue 1142763002: Revert of Mark internal AccessorInfo properties as "special data properties" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months 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/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index d94aa598069e6eeb027ff958ce970a34b44ae3a4..9a5353fe630eaba44fecc4d3ce558c1babd343d5 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -3194,21 +3194,14 @@
}
break;
- case LookupIterator::ACCESSOR: {
+ case LookupIterator::ACCESSOR:
if (it->property_details().IsReadOnly()) {
return WriteToReadOnlyProperty(it, value, language_mode);
}
- Handle<Object> accessors = it->GetAccessors();
- if (accessors->IsAccessorInfo() &&
- !it->HolderIsReceiverOrHiddenPrototype() &&
- AccessorInfo::cast(*accessors)->is_special_data_property()) {
- done = true;
- break;
- }
return SetPropertyWithAccessor(it->GetReceiver(), it->name(), value,
- it->GetHolder<JSObject>(), accessors,
- language_mode);
- }
+ it->GetHolder<JSObject>(),
+ it->GetAccessors(), language_mode);
+
case LookupIterator::INTEGER_INDEXED_EXOTIC:
done = true;
break;
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698