| Index: src/stub-cache.h
|
| diff --git a/src/stub-cache.h b/src/stub-cache.h
|
| index f21015a2635235bfd4627862d3a90eecc4659094..18c157b165f24738a96fbf4c75826fa316bf26f9 100644
|
| --- a/src/stub-cache.h
|
| +++ b/src/stub-cache.h
|
| @@ -194,7 +194,6 @@ class StubCache {
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallField(
|
| int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind,
|
| Code::ExtraICState extra_ic_state,
|
| String* name,
|
| @@ -204,7 +203,6 @@ class StubCache {
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallConstant(
|
| int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind,
|
| Code::ExtraICState extra_ic_state,
|
| String* name,
|
| @@ -214,7 +212,6 @@ class StubCache {
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallNormal(
|
| int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind,
|
| Code::ExtraICState extra_ic_state,
|
| String* name,
|
| @@ -230,7 +227,6 @@ class StubCache {
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallGlobal(
|
| int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind,
|
| Code::ExtraICState extra_ic_state,
|
| String* name,
|
| @@ -242,33 +238,27 @@ class StubCache {
|
| // ---
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallInitialize(int argc,
|
| - InLoopFlag in_loop,
|
| RelocInfo::Mode mode,
|
| Code::Kind kind);
|
|
|
| Handle<Code> ComputeCallInitialize(int argc,
|
| - InLoopFlag in_loop,
|
| RelocInfo::Mode mode);
|
|
|
| - Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop);
|
| + Handle<Code> ComputeKeyedCallInitialize(int argc);
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallPreMonomorphic(
|
| int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind kind,
|
| Code::ExtraICState extra_ic_state);
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallNormal(int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind kind,
|
| Code::ExtraICState state);
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallArguments(int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind kind);
|
|
|
| MUST_USE_RESULT MaybeObject* ComputeCallMegamorphic(int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind kind,
|
| Code::ExtraICState state);
|
|
|
| @@ -278,7 +268,6 @@ class StubCache {
|
|
|
| // Finds the Code object stored in the Heap::non_monomorphic_cache().
|
| MUST_USE_RESULT Code* FindCallInitialize(int argc,
|
| - InLoopFlag in_loop,
|
| RelocInfo::Mode mode,
|
| Code::Kind kind);
|
|
|
| @@ -379,11 +368,7 @@ class StubCache {
|
| // Use the seed from the primary cache in the secondary cache.
|
| uint32_t string_low32bits =
|
| static_cast<uint32_t>(reinterpret_cast<uintptr_t>(name));
|
| - // We always set the in_loop bit to zero when generating the lookup code
|
| - // so do it here too so the hash codes match.
|
| - uint32_t iflags =
|
| - (static_cast<uint32_t>(flags) & ~Code::ICInLoopField::kMask);
|
| - uint32_t key = seed - string_low32bits + iflags;
|
| + uint32_t key = seed - string_low32bits + flags;
|
| return key & ((kSecondaryTableSize - 1) << kHeapObjectTagSize);
|
| }
|
|
|
| @@ -755,7 +740,6 @@ class CallOptimization;
|
| class CallStubCompiler: public StubCompiler {
|
| public:
|
| CallStubCompiler(int argc,
|
| - InLoopFlag in_loop,
|
| Code::Kind kind,
|
| Code::ExtraICState extra_ic_state,
|
| InlineCacheHolderFlag cache_holder);
|
| @@ -815,7 +799,6 @@ class CallStubCompiler: public StubCompiler {
|
| String* name);
|
|
|
| const ParameterCount arguments_;
|
| - const InLoopFlag in_loop_;
|
| const Code::Kind kind_;
|
| const Code::ExtraICState extra_ic_state_;
|
| const InlineCacheHolderFlag cache_holder_;
|
|
|