| Index: src/ic/ic.h
|
| diff --git a/src/ic/ic.h b/src/ic/ic.h
|
| index 295d9b83c7e7c7e5c2171aec05c7d4566b138810..f96c6f061ad2ea2743ce055dcf2f0cb96b1e4e26 100644
|
| --- a/src/ic/ic.h
|
| +++ b/src/ic/ic.h
|
| @@ -223,7 +223,6 @@ class IC {
|
| return target_maps_.length() > 0 ? *target_maps_.at(0) : NULL;
|
| }
|
|
|
| - protected:
|
| inline void UpdateTarget();
|
|
|
| private:
|
| @@ -526,6 +525,12 @@ enum KeyedStoreCheckMap { kDontCheckMap, kCheckMap };
|
| enum KeyedStoreIncrementLength { kDontIncrementLength, kIncrementLength };
|
|
|
|
|
| +enum KeyedStoreStubCacheRequirement {
|
| + kCallRuntimeOnMissingHandler,
|
| + kMissOnMissingHandler
|
| +};
|
| +
|
| +
|
| class KeyedStoreIC : public StoreIC {
|
| public:
|
| // ExtraICState bits (building on IC)
|
| @@ -559,7 +564,9 @@ class KeyedStoreIC : public StoreIC {
|
| }
|
| static void GenerateMiss(MacroAssembler* masm);
|
| static void GenerateSlow(MacroAssembler* masm);
|
| - static void GenerateGeneric(MacroAssembler* masm, StrictMode strict_mode);
|
| + static void GenerateGeneric(
|
| + MacroAssembler* masm, StrictMode strict_mode,
|
| + KeyedStoreStubCacheRequirement handler_requirement);
|
| static void GenerateSloppyArguments(MacroAssembler* masm);
|
|
|
| protected:
|
|
|