| Index: src/stub-cache.h
|
| diff --git a/src/stub-cache.h b/src/stub-cache.h
|
| index a7829a600ea888a94ff7cd562781123171b08f23..a4397d66c65db38147d058bb5f7e08b8c9c31cbd 100644
|
| --- a/src/stub-cache.h
|
| +++ b/src/stub-cache.h
|
| @@ -177,13 +177,15 @@ class StubCache : public AllStatic {
|
| JSObject* holder,
|
| int index);
|
|
|
| - MUST_USE_RESULT static MaybeObject* ComputeCallConstant(int argc,
|
| - InLoopFlag in_loop,
|
| - Code::Kind,
|
| - String* name,
|
| - Object* object,
|
| - JSObject* holder,
|
| - JSFunction* function);
|
| + MUST_USE_RESULT static MaybeObject* ComputeCallConstant(
|
| + int argc,
|
| + InLoopFlag in_loop,
|
| + Code::Kind,
|
| + Code::ExtraICState extra_ic_state,
|
| + String* name,
|
| + Object* object,
|
| + JSObject* holder,
|
| + JSFunction* function);
|
|
|
| MUST_USE_RESULT static MaybeObject* ComputeCallNormal(int argc,
|
| InLoopFlag in_loop,
|
| @@ -230,8 +232,10 @@ class StubCache : public AllStatic {
|
| InLoopFlag in_loop,
|
| Code::Kind kind);
|
|
|
| - MUST_USE_RESULT static MaybeObject* ComputeCallMiss(int argc,
|
| - Code::Kind kind);
|
| + MUST_USE_RESULT static MaybeObject* ComputeCallMiss(
|
| + int argc,
|
| + Code::Kind kind,
|
| + Code::ExtraICState extra_ic_state);
|
|
|
| // Finds the Code object stored in the Heap::non_monomorphic_cache().
|
| MUST_USE_RESULT static Code* FindCallInitialize(int argc,
|
| @@ -660,6 +664,7 @@ class CallStubCompiler: public StubCompiler {
|
| CallStubCompiler(int argc,
|
| InLoopFlag in_loop,
|
| Code::Kind kind,
|
| + Code::ExtraICState extra_ic_state,
|
| InlineCacheHolderFlag cache_holder);
|
|
|
| MUST_USE_RESULT MaybeObject* CompileCallField(JSObject* object,
|
| @@ -705,6 +710,7 @@ class CallStubCompiler: public StubCompiler {
|
| const ParameterCount arguments_;
|
| const InLoopFlag in_loop_;
|
| const Code::Kind kind_;
|
| + const Code::ExtraICState extra_ic_state_;
|
| const InlineCacheHolderFlag cache_holder_;
|
|
|
| const ParameterCount& arguments() { return arguments_; }
|
| @@ -731,6 +737,11 @@ class CallStubCompiler: public StubCompiler {
|
| // Generates a jump to CallIC miss stub. Returns Failure if the jump cannot
|
| // be generated.
|
| MUST_USE_RESULT MaybeObject* GenerateMissBranch();
|
| + MUST_USE_RESULT MaybeObject* GenerateExtraStateChangeBranch(
|
| + Code::ExtraICState new_extra_ic_state);
|
| +
|
| + MUST_USE_RESULT MaybeObject* GenerateBranchHelper(
|
| + Code::ExtraICState extra_ic_state);
|
| };
|
|
|
|
|
|
|