Chromium Code Reviews| Index: src/stub-cache.h |
| diff --git a/src/stub-cache.h b/src/stub-cache.h |
| index 6d782798335eddf73fbd7ed22f28462469f8d6f9..307939dd6f44034c311bf8add7c01fd98772ea32 100644 |
| --- a/src/stub-cache.h |
| +++ b/src/stub-cache.h |
| @@ -138,26 +138,32 @@ class StubCache : public AllStatic { |
| // --- |
| - MUST_USE_RESULT static MaybeObject* ComputeStoreField(String* name, |
| - JSObject* receiver, |
| - int field_index, |
| - Map* transition = NULL); |
| + MUST_USE_RESULT static MaybeObject* ComputeStoreField( |
| + String* name, |
| + JSObject* receiver, |
| + int field_index, |
| + Map* transition, |
| + Code::ExtraICState extra_ic_state); |
| - MUST_USE_RESULT static MaybeObject* ComputeStoreNormal(); |
| + MUST_USE_RESULT static MaybeObject* ComputeStoreNormal( |
| + Code::ExtraICState extra_ic_state); |
| MUST_USE_RESULT static MaybeObject* ComputeStoreGlobal( |
| String* name, |
| GlobalObject* receiver, |
| - JSGlobalPropertyCell* cell); |
| + JSGlobalPropertyCell* cell, |
| + Code::ExtraICState extra_ic_state); |
| MUST_USE_RESULT static MaybeObject* ComputeStoreCallback( |
| String* name, |
| JSObject* receiver, |
| - AccessorInfo* callback); |
| + AccessorInfo* callback, |
| + Code::ExtraICState extra_ic_state); |
| MUST_USE_RESULT static MaybeObject* ComputeStoreInterceptor( |
| String* name, |
| - JSObject* receiver); |
| + JSObject* receiver, |
| + Code::ExtraICState extra_ic_state); |
| // --- |
| @@ -619,6 +625,9 @@ class KeyedLoadStubCompiler: public StubCompiler { |
| class StoreStubCompiler: public StubCompiler { |
| public: |
| + explicit StoreStubCompiler(Code::ExtraICState extra_ic_state) |
|
Martin Maly
2011/02/13 16:23:34
Fixing presubmit.
|
| + : extra_ic_state_(extra_ic_state) { } |
| + |
| MUST_USE_RESULT MaybeObject* CompileStoreField(JSObject* object, |
| int index, |
| Map* transition, |
| @@ -636,6 +645,8 @@ class StoreStubCompiler: public StubCompiler { |
| private: |
| MaybeObject* GetCode(PropertyType type, String* name); |
| + |
| + Code::ExtraICState extra_ic_state_; |
| }; |