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

Unified Diff: src/code-stubs.h

Issue 2356163002: [stubs] Remove OnStackArgsDescriptor and friends. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | src/interface-descriptors.h » ('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 1bbf780e3068d745847dad8f4b1a76c8aa6d16d2..56c0f4d2cb61276cd7db14198b1bfcb216e4ba4b 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -488,12 +488,6 @@ class CodeStub BASE_EMBEDDED {
return Descriptor(isolate()); \
}
-#define DEFINE_ON_STACK_CALL_INTERFACE_DESCRIPTOR(PARAMETER_COUNT) \
- public: \
- CallInterfaceDescriptor GetCallInterfaceDescriptor() const override { \
- return OnStackArgsDescriptorBase::ForArgs(isolate(), PARAMETER_COUNT); \
- }
-
// There are some code stubs we just can't describe right now with a
// CallInterfaceDescriptor. Isolate behavior for those cases with this macro.
// An attempt to retrieve a descriptor will fail.
@@ -2119,7 +2113,7 @@ class RegExpExecStub: public PlatformCodeStub {
public:
explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { }
- DEFINE_ON_STACK_CALL_INTERFACE_DESCRIPTOR(4);
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec);
DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub);
};
@@ -3117,7 +3111,7 @@ class SubStringStub : public PlatformCodeStub {
public:
explicit SubStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
- DEFINE_ON_STACK_CALL_INTERFACE_DESCRIPTOR(3);
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(SubString);
DEFINE_PLATFORM_CODE_STUB(SubString, PlatformCodeStub);
};
« no previous file with comments | « no previous file | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698