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

Unified Diff: src/lookup.cc

Issue 904423002: fix transition of typedarrays in ics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/ic/ic.cc ('k') | test/mjsunit/harmony/regress/regress-typedarray-out-of-bounds.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lookup.cc
diff --git a/src/lookup.cc b/src/lookup.cc
index c658a90e63fb816f831d7c82caa931579388cd01..a2ae54df4324e47b2afd7d705b4cd680d27702e1 100644
--- a/src/lookup.cc
+++ b/src/lookup.cc
@@ -120,7 +120,7 @@ void LookupIterator::PrepareTransitionToDataProperty(
if (state_ == TRANSITION) return;
DCHECK(state_ != LookupIterator::ACCESSOR);
DCHECK(state_ == NOT_FOUND || !HolderIsReceiverOrHiddenPrototype());
-
+ DCHECK(!IsSpecialNumericIndex());
// Can only be called when the receiver is a JSObject. JSProxy has to be
// handled via a trap. Adding properties to primitive values is not
// observable.
« no previous file with comments | « src/ic/ic.cc ('k') | test/mjsunit/harmony/regress/regress-typedarray-out-of-bounds.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698