Commit d9fab441 authored by ishell's avatar ishell Committed by Commit bot

[stubs] Rename LoadIC[Trampoline]TFStub to LoadIC[Trampoline]Stub.

Review-Url: https://codereview.chromium.org/2412493006
Cr-Commit-Position: refs/heads/master@{#40212}
parent 9a99cc47
...@@ -23,7 +23,7 @@ Callable make_callable(Stub& stub) { ...@@ -23,7 +23,7 @@ Callable make_callable(Stub& stub) {
// static // static
Callable CodeFactory::LoadIC(Isolate* isolate) { Callable CodeFactory::LoadIC(Isolate* isolate) {
LoadICTrampolineTFStub stub(isolate); LoadICTrampolineStub stub(isolate);
return make_callable(stub); return make_callable(stub);
} }
...@@ -35,7 +35,7 @@ Callable CodeFactory::ApiGetter(Isolate* isolate) { ...@@ -35,7 +35,7 @@ Callable CodeFactory::ApiGetter(Isolate* isolate) {
// static // static
Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) { Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) {
LoadICTFStub stub(isolate); LoadICStub stub(isolate);
return make_callable(stub); return make_callable(stub);
} }
......
...@@ -419,7 +419,7 @@ Handle<Code> TurboFanCodeStub::GenerateCode() { ...@@ -419,7 +419,7 @@ Handle<Code> TurboFanCodeStub::GenerateCode() {
return assembler.GenerateCode(); return assembler.GenerateCode();
} }
void LoadICTrampolineTFStub::GenerateAssembly( void LoadICTrampolineStub::GenerateAssembly(
CodeStubAssembler* assembler) const { CodeStubAssembler* assembler) const {
typedef compiler::Node Node; typedef compiler::Node Node;
...@@ -433,7 +433,7 @@ void LoadICTrampolineTFStub::GenerateAssembly( ...@@ -433,7 +433,7 @@ void LoadICTrampolineTFStub::GenerateAssembly(
assembler->LoadIC(&p); assembler->LoadIC(&p);
} }
void LoadICTFStub::GenerateAssembly(CodeStubAssembler* assembler) const { void LoadICStub::GenerateAssembly(CodeStubAssembler* assembler) const {
typedef compiler::Node Node; typedef compiler::Node Node;
Node* receiver = assembler->Parameter(Descriptor::kReceiver); Node* receiver = assembler->Parameter(Descriptor::kReceiver);
......
...@@ -126,7 +126,7 @@ class ObjectLiteral; ...@@ -126,7 +126,7 @@ class ObjectLiteral;
V(StoreScriptContextField) \ V(StoreScriptContextField) \
V(NumberToString) \ V(NumberToString) \
V(GetProperty) \ V(GetProperty) \
V(LoadICTF) \ V(LoadIC) \
V(KeyedLoadICTF) \ V(KeyedLoadICTF) \
V(StoreFastElement) \ V(StoreFastElement) \
V(StoreField) \ V(StoreField) \
...@@ -141,7 +141,7 @@ class ObjectLiteral; ...@@ -141,7 +141,7 @@ class ObjectLiteral;
/* These are only called from FGC and */ \ /* These are only called from FGC and */ \
/* can be removed when we use ignition */ \ /* can be removed when we use ignition */ \
/* only */ \ /* only */ \
V(LoadICTrampolineTF) \ V(LoadICTrampoline) \
V(LoadGlobalICTrampoline) \ V(LoadGlobalICTrampoline) \
V(KeyedLoadICTrampolineTF) \ V(KeyedLoadICTrampolineTF) \
V(StoreICTrampolineTF) V(StoreICTrampolineTF)
...@@ -2035,18 +2035,16 @@ class KeyedLoadGenericStub : public HydrogenCodeStub { ...@@ -2035,18 +2035,16 @@ class KeyedLoadGenericStub : public HydrogenCodeStub {
DEFINE_HYDROGEN_CODE_STUB(KeyedLoadGeneric, HydrogenCodeStub); DEFINE_HYDROGEN_CODE_STUB(KeyedLoadGeneric, HydrogenCodeStub);
}; };
class LoadICTrampolineStub : public TurboFanCodeStub {
class LoadICTrampolineTFStub : public TurboFanCodeStub {
public: public:
explicit LoadICTrampolineTFStub(Isolate* isolate) explicit LoadICTrampolineStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
: TurboFanCodeStub(isolate) {}
void GenerateAssembly(CodeStubAssembler* assembler) const override; void GenerateAssembly(CodeStubAssembler* assembler) const override;
Code::Kind GetCodeKind() const override { return Code::LOAD_IC; } Code::Kind GetCodeKind() const override { return Code::LOAD_IC; }
DEFINE_CALL_INTERFACE_DESCRIPTOR(Load); DEFINE_CALL_INTERFACE_DESCRIPTOR(Load);
DEFINE_CODE_STUB(LoadICTrampolineTF, TurboFanCodeStub); DEFINE_CODE_STUB(LoadICTrampoline, TurboFanCodeStub);
}; };
class LoadGlobalICTrampolineStub : public TurboFanCodeStub { class LoadGlobalICTrampolineStub : public TurboFanCodeStub {
...@@ -2080,16 +2078,16 @@ class KeyedLoadICTrampolineStub : public PlatformCodeStub { ...@@ -2080,16 +2078,16 @@ class KeyedLoadICTrampolineStub : public PlatformCodeStub {
DEFINE_PLATFORM_CODE_STUB(KeyedLoadICTrampoline, PlatformCodeStub); DEFINE_PLATFORM_CODE_STUB(KeyedLoadICTrampoline, PlatformCodeStub);
}; };
class KeyedLoadICTrampolineTFStub : public LoadICTrampolineTFStub { class KeyedLoadICTrampolineTFStub : public LoadICTrampolineStub {
public: public:
explicit KeyedLoadICTrampolineTFStub(Isolate* isolate) explicit KeyedLoadICTrampolineTFStub(Isolate* isolate)
: LoadICTrampolineTFStub(isolate) {} : LoadICTrampolineStub(isolate) {}
void GenerateAssembly(CodeStubAssembler* assembler) const override; void GenerateAssembly(CodeStubAssembler* assembler) const override;
Code::Kind GetCodeKind() const override { return Code::KEYED_LOAD_IC; } Code::Kind GetCodeKind() const override { return Code::KEYED_LOAD_IC; }
DEFINE_CODE_STUB(KeyedLoadICTrampolineTF, LoadICTrampolineTFStub); DEFINE_CODE_STUB(KeyedLoadICTrampolineTF, LoadICTrampolineStub);
}; };
class StoreICTrampolineStub : public PlatformCodeStub { class StoreICTrampolineStub : public PlatformCodeStub {
...@@ -2167,16 +2165,16 @@ class CallICTrampolineStub : public PlatformCodeStub { ...@@ -2167,16 +2165,16 @@ class CallICTrampolineStub : public PlatformCodeStub {
DEFINE_PLATFORM_CODE_STUB(CallICTrampoline, PlatformCodeStub); DEFINE_PLATFORM_CODE_STUB(CallICTrampoline, PlatformCodeStub);
}; };
class LoadICTFStub : public TurboFanCodeStub { class LoadICStub : public TurboFanCodeStub {
public: public:
explicit LoadICTFStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} explicit LoadICStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
void GenerateAssembly(CodeStubAssembler* assembler) const override; void GenerateAssembly(CodeStubAssembler* assembler) const override;
Code::Kind GetCodeKind() const override { return Code::LOAD_IC; } Code::Kind GetCodeKind() const override { return Code::LOAD_IC; }
DEFINE_CALL_INTERFACE_DESCRIPTOR(LoadWithVector); DEFINE_CALL_INTERFACE_DESCRIPTOR(LoadWithVector);
DEFINE_CODE_STUB(LoadICTF, TurboFanCodeStub); DEFINE_CODE_STUB(LoadIC, TurboFanCodeStub);
}; };
class LoadGlobalICStub : public TurboFanCodeStub { class LoadGlobalICStub : public TurboFanCodeStub {
...@@ -2213,15 +2211,15 @@ class KeyedLoadICStub : public PlatformCodeStub { ...@@ -2213,15 +2211,15 @@ class KeyedLoadICStub : public PlatformCodeStub {
void GenerateImpl(MacroAssembler* masm, bool in_frame); void GenerateImpl(MacroAssembler* masm, bool in_frame);
}; };
class KeyedLoadICTFStub : public LoadICTFStub { class KeyedLoadICTFStub : public LoadICStub {
public: public:
explicit KeyedLoadICTFStub(Isolate* isolate) : LoadICTFStub(isolate) {} explicit KeyedLoadICTFStub(Isolate* isolate) : LoadICStub(isolate) {}
void GenerateAssembly(CodeStubAssembler* assembler) const override; void GenerateAssembly(CodeStubAssembler* assembler) const override;
Code::Kind GetCodeKind() const override { return Code::KEYED_LOAD_IC; } Code::Kind GetCodeKind() const override { return Code::KEYED_LOAD_IC; }
DEFINE_CODE_STUB(KeyedLoadICTF, LoadICTFStub); DEFINE_CODE_STUB(KeyedLoadICTF, LoadICStub);
}; };
class StoreICStub : public PlatformCodeStub { class StoreICStub : public PlatformCodeStub {
......
...@@ -21828,7 +21828,7 @@ void TestStubCache(bool primary) { ...@@ -21828,7 +21828,7 @@ void TestStubCache(bool primary) {
// Enforce recompilation of IC stubs that access megamorphic stub cache // Enforce recompilation of IC stubs that access megamorphic stub cache
// to respect enabled native code counters and stub cache test flags. // to respect enabled native code counters and stub cache test flags.
i::CodeStub::Major code_stub_keys[] = { i::CodeStub::Major code_stub_keys[] = {
i::CodeStub::LoadICTF, i::CodeStub::LoadICTrampolineTF, i::CodeStub::LoadIC, i::CodeStub::LoadICTrampoline,
i::CodeStub::KeyedLoadIC, i::CodeStub::KeyedLoadICTrampoline, i::CodeStub::KeyedLoadIC, i::CodeStub::KeyedLoadICTrampoline,
i::CodeStub::StoreIC, i::CodeStub::StoreICTrampoline, i::CodeStub::StoreIC, i::CodeStub::StoreICTrampoline,
i::CodeStub::StoreICTF, i::CodeStub::StoreICTrampolineTF, i::CodeStub::StoreICTF, i::CodeStub::StoreICTrampolineTF,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment