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

Unified Diff: src/objects.cc

Issue 1037213002: fix reconfigure of indexed integer exotic objects (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | test/mjsunit/es6/indexed-integer-exotics.js » ('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 ccf5073311262587cbb3cbc82aceeed68a1cfd3d..83cc99546369aaea67b8cfad23e371f590f92295 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -4162,6 +4162,8 @@ MaybeHandle<Object> JSObject::SetOwnPropertyIgnoreAttributes(
for (; it.IsFound(); it.Next()) {
switch (it.state()) {
case LookupIterator::INTEGER_INDEXED_EXOTIC:
+ return value;
+
case LookupIterator::INTERCEPTOR:
case LookupIterator::JSPROXY:
case LookupIterator::NOT_FOUND:
« no previous file with comments | « no previous file | test/mjsunit/es6/indexed-integer-exotics.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698