Chromium Code Reviews| Index: src/ic.h |
| diff --git a/src/ic.h b/src/ic.h |
| index f5f822b7e5f8e9a89e6f896794b7203c43e09e4e..002939abdbf47e2b7470fcfc88b27a4d54365784 100644 |
| --- a/src/ic.h |
| +++ b/src/ic.h |
| @@ -495,7 +495,8 @@ class KeyedLoadIC: public LoadIC { |
| class StoreIC: public IC { |
| public: |
| - explicit StoreIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) { |
| + explicit StoreIC(FrameDepth depth, Isolate* isolate) |
|
Jakob Kummerow
2013/03/11 16:36:07
nit: no "explicit" necessary
danno
2013/03/13 15:36:26
Done.
|
| + : IC(depth, isolate) { |
| ASSERT(target()->is_store_stub() || target()->is_keyed_store_stub()); |
| } |
| @@ -584,7 +585,8 @@ enum KeyedStoreIncrementLength { |
| class KeyedStoreIC: public StoreIC { |
| public: |
| - explicit KeyedStoreIC(Isolate* isolate) : StoreIC(isolate) { |
| + KeyedStoreIC(FrameDepth depth, Isolate* isolate) |
| + : StoreIC(depth, isolate) { |
| ASSERT(target()->is_keyed_store_stub()); |
| } |
| @@ -785,6 +787,7 @@ enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; |
| void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); |
| DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissFromStubFailure); |
| +DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_MissFromStubFailure); |
| } } // namespace v8::internal |