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

Unified Diff: src/code-stubs.h

Issue 2182103002: [KeyedLoadIC] Support Smi "handlers" for simple field loads (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased Created 4 years, 5 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 a81fa0a2f06f7161f8c4dcf428e8895c2a283573..5542b428718914f0a80cab7d4b794fe4cd857aab 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -140,6 +140,8 @@ namespace internal {
V(GetProperty) \
V(LoadICTrampolineTF) \
V(LoadICTF) \
+ V(KeyedLoadICTrampolineTF) \
+ V(KeyedLoadICTF) \
/* IC Handler stubs */ \
V(KeyedLoadSloppyArguments) \
V(KeyedStoreSloppyArguments) \
@@ -2350,6 +2352,18 @@ class KeyedLoadICTrampolineStub : public LoadICTrampolineStub {
DEFINE_PLATFORM_CODE_STUB(KeyedLoadICTrampoline, LoadICTrampolineStub);
};
+class KeyedLoadICTrampolineTFStub : public LoadICTrampolineTFStub {
+ public:
+ explicit KeyedLoadICTrampolineTFStub(Isolate* isolate)
+ : LoadICTrampolineTFStub(isolate) {}
+
+ void GenerateAssembly(CodeStubAssembler* assembler) const override;
+
+ Code::Kind GetCodeKind() const override { return Code::KEYED_LOAD_IC; }
+
+ DEFINE_CODE_STUB(KeyedLoadICTrampolineTF, LoadICTrampolineTFStub);
+};
+
class StoreICTrampolineStub : public PlatformCodeStub {
public:
StoreICTrampolineStub(Isolate* isolate, const StoreICState& state)
@@ -2468,6 +2482,17 @@ class KeyedLoadICStub : public PlatformCodeStub {
void GenerateImpl(MacroAssembler* masm, bool in_frame);
};
+class KeyedLoadICTFStub : public LoadICTFStub {
+ public:
+ explicit KeyedLoadICTFStub(Isolate* isolate) : LoadICTFStub(isolate) {}
+
+ void GenerateAssembly(CodeStubAssembler* assembler) const override;
+
+ Code::Kind GetCodeKind() const override { return Code::KEYED_LOAD_IC; }
+
+ DEFINE_CODE_STUB(KeyedLoadICTF, LoadICTFStub);
+};
+
class StoreICStub : public PlatformCodeStub {
public:
StoreICStub(Isolate* isolate, const StoreICState& state)
« 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