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

Unified Diff: src/ic/keyed-store-generic.cc

Issue 2525913002: [stubs] Fix AccessorInfo mixup in KeyedStoreGeneric (Closed)
Patch Set: Created 4 years, 1 month 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/code-stub-assembler.h ('k') | test/mjsunit/regress/regress-crbug-668101.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/keyed-store-generic.cc
diff --git a/src/ic/keyed-store-generic.cc b/src/ic/keyed-store-generic.cc
index 43eb4f1c8a9c7a69f22dbea9bd5ebe761ce57964..699cb71ac8f07ee1f87fb803997ef106d03f0cde 100644
--- a/src/ic/keyed-store-generic.cc
+++ b/src/ic/keyed-store-generic.cc
@@ -676,7 +676,7 @@ void KeyedStoreGenericAssembler::EmitGenericPropertyStore(
{
Label not_callable(this);
Node* accessor_pair = var_accessor_pair.value();
- GotoIf(IsAccessorPairMap(LoadMap(accessor_pair)), slow);
+ GotoIf(IsAccessorInfoMap(LoadMap(accessor_pair)), slow);
CSA_ASSERT(this, HasInstanceType(accessor_pair, ACCESSOR_PAIR_TYPE));
Node* setter = LoadObjectField(accessor_pair, AccessorPair::kSetterOffset);
Node* setter_map = LoadMap(setter);
« no previous file with comments | « src/code-stub-assembler.h ('k') | test/mjsunit/regress/regress-crbug-668101.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698