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

Unified Diff: src/ic/ic.h

Issue 2488673004: [ic] Support data handlers that represent transitioning stores. (Closed)
Patch Set: Rebasing again 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/ic/handler-configuration-inl.h ('k') | src/ic/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.h
diff --git a/src/ic/ic.h b/src/ic/ic.h
index e7312e2888b109006585fcc833e38b285d95b39e..9e69cc85d08bbb4b4e550f30e584ad961fa1a0cf 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -314,14 +314,6 @@ class LoadIC : public IC {
// Creates a data handler that represents a load of a field by given index.
Handle<Object> SimpleFieldLoad(FieldIndex index);
- // Returns 0 if the validity cell check is enough to ensure that the
- // prototype chain from |receiver_map| till |holder| did not change.
- // If the |holder| is an empty handle then the full prototype chain is
- // checked.
- // Returns -1 if the handler has to be compiled or the number of prototype
- // checks otherwise.
- int GetPrototypeCheckCount(Handle<Map> receiver_map, Handle<JSObject> holder);
-
// Creates a data handler that represents a prototype chain check followed
// by given Smi-handler that encoded a load from the holder.
// Can be used only if GetPrototypeCheckCount() returns non negative value.
@@ -425,6 +417,10 @@ class StoreIC : public IC {
CacheHolderFlag cache_holder) override;
private:
+ Handle<Object> StoreTransition(Handle<Map> receiver_map,
+ Handle<JSObject> holder,
+ Handle<Map> transition, Handle<Name> name);
+
friend class IC;
};
« no previous file with comments | « src/ic/handler-configuration-inl.h ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698