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

Unified Diff: src/code-stubs.h

Issue 2496333002: [ic] Extract load IC proto array handlers handling to a separate stub. (Closed)
Patch Set: Created 4 years, 1 month 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 f110f21f451638e6f11d08d1fb792eaea8f5a1ae..450d0c12c29215c3b1af2c8f29037547a063e23c 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -121,6 +121,7 @@ class ObjectLiteral;
V(StringAdd) \
V(GetProperty) \
V(LoadIC) \
+ V(LoadICProtoArray) \
V(KeyedLoadICTF) \
V(StoreFastElement) \
V(StoreField) \
@@ -2103,6 +2104,16 @@ class LoadICStub : public TurboFanCodeStub {
DEFINE_CODE_STUB(LoadIC, TurboFanCodeStub);
};
+class LoadICProtoArrayStub : public TurboFanCodeStub {
+ public:
+ explicit LoadICProtoArrayStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
+
+ void GenerateAssembly(CodeStubAssembler* assembler) const override;
+
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(LoadICProtoArray);
+ DEFINE_CODE_STUB(LoadICProtoArray, TurboFanCodeStub);
+};
+
class LoadGlobalICStub : public TurboFanCodeStub {
public:
explicit LoadGlobalICStub(Isolate* isolate, const LoadGlobalICState& 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