Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: src/code-stubs.h

Issue 2403483002: [stubs] Port KeyedStoreIC dispatcher to TurboFan (Closed)
Patch Set: addressed comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index b74aabbc825c0223b6b6e87315334db081620e0c..8a3a2f7c6d6d1cb58d6258b8b31b42df89c4a490 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -126,6 +126,7 @@ class ObjectLiteral;
V(StoreField) \
V(StoreGlobal) \
V(StoreIC) \
+ V(KeyedStoreICTF) \
V(StoreInterceptor) \
V(StoreMap) \
V(StoreTransition) \
@@ -138,7 +139,8 @@ class ObjectLiteral;
V(LoadICTrampoline) \
V(LoadGlobalICTrampoline) \
V(KeyedLoadICTrampolineTF) \
- V(StoreICTrampoline)
+ V(StoreICTrampoline) \
+ V(KeyedStoreICTrampolineTF)
// List of code stubs only used on ARM 32 bits platforms.
#if V8_TARGET_ARCH_ARM
@@ -2077,6 +2079,17 @@ class KeyedStoreICTrampolineStub : public PlatformCodeStub {
DEFINE_PLATFORM_CODE_STUB(KeyedStoreICTrampoline, PlatformCodeStub);
};
+class KeyedStoreICTrampolineTFStub : public StoreICTrampolineStub {
+ public:
+ KeyedStoreICTrampolineTFStub(Isolate* isolate, const StoreICState& state)
+ : StoreICTrampolineStub(isolate, state) {}
+
+ void GenerateAssembly(CodeStubAssembler* assembler) const override;
+
+ Code::Kind GetCodeKind() const override { return Code::KEYED_STORE_IC; }
+
+ DEFINE_CODE_STUB(KeyedStoreICTrampolineTF, StoreICTrampolineStub);
+};
class CallICTrampolineStub : public PlatformCodeStub {
public:
@@ -2182,6 +2195,17 @@ class KeyedStoreICStub : public PlatformCodeStub {
void GenerateImpl(MacroAssembler* masm, bool in_frame);
};
+class KeyedStoreICTFStub : public StoreICStub {
+ public:
+ KeyedStoreICTFStub(Isolate* isolate, const StoreICState& state)
+ : StoreICStub(isolate, state) {}
+
+ void GenerateAssembly(CodeStubAssembler* assembler) const override;
+
+ Code::Kind GetCodeKind() const override { return Code::KEYED_STORE_IC; }
+
+ DEFINE_CODE_STUB(KeyedStoreICTF, StoreICStub);
+};
class DoubleToIStub : public PlatformCodeStub {
public:
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698