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

Unified Diff: src/code-stubs.h

Issue 2686723004: [stubs] Port LoadFunctionPrototypeStub to CSA (Closed)
Patch Set: Created 3 years, 10 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/builtins/builtins-handler.cc ('k') | src/ia32/code-stubs-ia32.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 526758c472781d95a3a9f3b066ddc598ae2cc7b5..669c3fbfa3f9eef618ae0582c7f1451556324b8c 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -38,7 +38,6 @@ class Node;
V(CEntry) \
V(CompareIC) \
V(DoubleToI) \
- V(FunctionPrototype) \
V(InternalArrayConstructor) \
V(JSEntry) \
V(MathPow) \
@@ -872,26 +871,6 @@ class CallICStub : public TurboFanCodeStub {
DEFINE_TURBOFAN_CODE_STUB(CallIC, TurboFanCodeStub);
};
-
-// TODO(verwaest): Translate to hydrogen code stub.
-class FunctionPrototypeStub : public PlatformCodeStub {
- public:
- explicit FunctionPrototypeStub(Isolate* isolate)
- : PlatformCodeStub(isolate) {}
-
- Code::Kind GetCodeKind() const override { return Code::HANDLER; }
- ExtraICState GetExtraICState() const override { return Code::LOAD_IC; }
-
- // TODO(mvstanton): only the receiver register is accessed. When this is
- // translated to a hydrogen code stub, a new CallInterfaceDescriptor
- // should be created that just uses that register for more efficient code.
- CallInterfaceDescriptor GetCallInterfaceDescriptor() const override {
- return LoadWithVectorDescriptor(isolate());
- }
-
- DEFINE_PLATFORM_CODE_STUB(FunctionPrototype, PlatformCodeStub);
-};
-
class KeyedLoadSloppyArgumentsStub : public TurboFanCodeStub {
public:
explicit KeyedLoadSloppyArgumentsStub(Isolate* isolate)
« no previous file with comments | « src/builtins/builtins-handler.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698