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; |
}; |