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

Unified Diff: src/ic/accessor-assembler-impl.h

Issue 2534613002: [ic] Use validity cells to protect keyed element stores against object's prototype chain modificati… (Closed)
Patch Set: The fix Created 4 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
Index: src/ic/accessor-assembler-impl.h
diff --git a/src/ic/accessor-assembler-impl.h b/src/ic/accessor-assembler-impl.h
index 01e9bf18203ad669aeff6a4977ff19f459e2c1b3..41b6e06a43eef96a8082119e56099e0ccc4b9c71 100644
--- a/src/ic/accessor-assembler-impl.h
+++ b/src/ic/accessor-assembler-impl.h
@@ -81,12 +81,12 @@ class AccessorAssemblerImpl : public CodeStubAssembler {
Node* value;
};
- void HandleStoreICHandlerCase(const StoreICParameters* p, Node* handler,
- Label* miss);
-
- private:
enum ElementSupport { kOnlyProperties, kSupportElements };
+ void HandleStoreICHandlerCase(
+ const StoreICParameters* p, Node* handler, Label* miss,
+ ElementSupport support_elements = kOnlyProperties);
+ private:
// Stub generation entry points.
void LoadIC(const LoadICParameters* p);
@@ -142,6 +142,9 @@ class AccessorAssemblerImpl : public CodeStubAssembler {
// StoreIC implementation.
+ void HandleStoreICElementHandlerCase(const StoreICParameters* p,
+ Node* handler, Label* miss);
+
void HandleStoreICProtoHandler(const StoreICParameters* p, Node* handler,
Label* miss);
// If |transition| is nullptr then the normal field store is generated or
« src/ic/accessor-assembler.cc ('K') | « src/ic/accessor-assembler.cc ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698