Index: src/ic.h |
=================================================================== |
--- src/ic.h (revision 2143) |
+++ src/ic.h (working copy) |
@@ -356,6 +356,12 @@ |
static void GenerateGeneric(MacroAssembler* masm); |
static void GenerateExtendStorage(MacroAssembler* masm); |
+ // Clear the inlined version so the IC is always hit. |
+ static void ClearInlinedVersion(Address address); |
+ |
+ // Restore the inlined version so the fast case can get hit. |
+ static void RestoreInlinedVersion(Address address); |
+ |
private: |
static void Generate(MacroAssembler* masm, const ExternalReference& f); |
@@ -378,6 +384,11 @@ |
} |
static void Clear(Address address, Code* target); |
+ |
+ // Support for patching the map that is checked in an inlined |
+ // version of keyed store. |
+ static bool PatchInlinedStore(Address address, Object* map); |
+ |
friend class IC; |
}; |