[stubs] Rename StoreIC[Trampoline]TFStub to StoreIC[Trampoline]Stub.
Review-Url: https://codereview.chromium.org/2411793004 Cr-Commit-Position: refs/heads/master@{#40219}
This commit is contained in:
parent
13488842de
commit
50efae9b7e
@ -99,14 +99,14 @@ Callable CodeFactory::CallICInOptimizedCode(Isolate* isolate,
|
||||
|
||||
// static
|
||||
Callable CodeFactory::StoreIC(Isolate* isolate, LanguageMode language_mode) {
|
||||
StoreICTrampolineTFStub stub(isolate, StoreICState(language_mode));
|
||||
StoreICTrampolineStub stub(isolate, StoreICState(language_mode));
|
||||
return make_callable(stub);
|
||||
}
|
||||
|
||||
// static
|
||||
Callable CodeFactory::StoreICInOptimizedCode(Isolate* isolate,
|
||||
LanguageMode language_mode) {
|
||||
StoreICTFStub stub(isolate, StoreICState(language_mode));
|
||||
StoreICStub stub(isolate, StoreICState(language_mode));
|
||||
return make_callable(stub);
|
||||
}
|
||||
|
||||
|
@ -498,7 +498,7 @@ void KeyedLoadICTFStub::GenerateAssembly(CodeStubAssembler* assembler) const {
|
||||
assembler->KeyedLoadIC(&p);
|
||||
}
|
||||
|
||||
void StoreICTrampolineTFStub::GenerateAssembly(
|
||||
void StoreICTrampolineStub::GenerateAssembly(
|
||||
CodeStubAssembler* assembler) const {
|
||||
typedef compiler::Node Node;
|
||||
|
||||
@ -514,7 +514,7 @@ void StoreICTrampolineTFStub::GenerateAssembly(
|
||||
assembler->StoreIC(&p);
|
||||
}
|
||||
|
||||
void StoreICTFStub::GenerateAssembly(CodeStubAssembler* assembler) const {
|
||||
void StoreICStub::GenerateAssembly(CodeStubAssembler* assembler) const {
|
||||
typedef compiler::Node Node;
|
||||
|
||||
Node* receiver = assembler->Parameter(Descriptor::kReceiver);
|
||||
|
@ -129,7 +129,7 @@ class ObjectLiteral;
|
||||
V(StoreFastElement) \
|
||||
V(StoreField) \
|
||||
V(StoreGlobal) \
|
||||
V(StoreICTF) \
|
||||
V(StoreIC) \
|
||||
V(StoreInterceptor) \
|
||||
V(StoreMap) \
|
||||
V(StoreTransition) \
|
||||
@ -142,7 +142,7 @@ class ObjectLiteral;
|
||||
V(LoadICTrampoline) \
|
||||
V(LoadGlobalICTrampoline) \
|
||||
V(KeyedLoadICTrampolineTF) \
|
||||
V(StoreICTrampolineTF)
|
||||
V(StoreICTrampoline)
|
||||
|
||||
// List of code stubs only used on ARM 32 bits platforms.
|
||||
#if V8_TARGET_ARCH_ARM
|
||||
@ -2088,9 +2088,9 @@ class KeyedLoadICTrampolineTFStub : public LoadICTrampolineStub {
|
||||
DEFINE_CODE_STUB(KeyedLoadICTrampolineTF, LoadICTrampolineStub);
|
||||
};
|
||||
|
||||
class StoreICTrampolineTFStub : public TurboFanCodeStub {
|
||||
class StoreICTrampolineStub : public TurboFanCodeStub {
|
||||
public:
|
||||
StoreICTrampolineTFStub(Isolate* isolate, const StoreICState& state)
|
||||
StoreICTrampolineStub(Isolate* isolate, const StoreICState& state)
|
||||
: TurboFanCodeStub(isolate) {
|
||||
minor_key_ = state.GetExtraICState();
|
||||
}
|
||||
@ -2107,7 +2107,7 @@ class StoreICTrampolineTFStub : public TurboFanCodeStub {
|
||||
StoreICState state() const { return StoreICState(GetExtraICState()); }
|
||||
|
||||
DEFINE_CALL_INTERFACE_DESCRIPTOR(Store);
|
||||
DEFINE_CODE_STUB(StoreICTrampolineTF, TurboFanCodeStub);
|
||||
DEFINE_CODE_STUB(StoreICTrampoline, TurboFanCodeStub);
|
||||
};
|
||||
|
||||
class KeyedStoreICTrampolineStub : public PlatformCodeStub {
|
||||
@ -2211,9 +2211,9 @@ class KeyedLoadICTFStub : public LoadICStub {
|
||||
DEFINE_CODE_STUB(KeyedLoadICTF, LoadICStub);
|
||||
};
|
||||
|
||||
class StoreICTFStub : public TurboFanCodeStub {
|
||||
class StoreICStub : public TurboFanCodeStub {
|
||||
public:
|
||||
StoreICTFStub(Isolate* isolate, const StoreICState& state)
|
||||
StoreICStub(Isolate* isolate, const StoreICState& state)
|
||||
: TurboFanCodeStub(isolate) {
|
||||
minor_key_ = state.GetExtraICState();
|
||||
}
|
||||
@ -2226,7 +2226,7 @@ class StoreICTFStub : public TurboFanCodeStub {
|
||||
}
|
||||
|
||||
DEFINE_CALL_INTERFACE_DESCRIPTOR(StoreWithVector);
|
||||
DEFINE_CODE_STUB(StoreICTF, TurboFanCodeStub);
|
||||
DEFINE_CODE_STUB(StoreIC, TurboFanCodeStub);
|
||||
};
|
||||
|
||||
class KeyedStoreICStub : public PlatformCodeStub {
|
||||
|
@ -21830,7 +21830,7 @@ void TestStubCache(bool primary) {
|
||||
i::CodeStub::Major code_stub_keys[] = {
|
||||
i::CodeStub::LoadIC, i::CodeStub::LoadICTrampoline,
|
||||
i::CodeStub::KeyedLoadIC, i::CodeStub::KeyedLoadICTrampoline,
|
||||
i::CodeStub::StoreICTF, i::CodeStub::StoreICTrampolineTF,
|
||||
i::CodeStub::StoreIC, i::CodeStub::StoreICTrampoline,
|
||||
i::CodeStub::KeyedStoreIC, i::CodeStub::KeyedStoreICTrampoline,
|
||||
};
|
||||
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
|
||||
|
Loading…
Reference in New Issue
Block a user