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

Unified Diff: src/interface-descriptors.cc

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 | « src/interface-descriptors.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interface-descriptors.cc
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc
index f61438fc832545ead93519bbbd359b796d666cd9..1a89aff5a3940fc9fae8b8174f65acdfb478948a 100644
--- a/src/interface-descriptors.cc
+++ b/src/interface-descriptors.cc
@@ -272,39 +272,6 @@ void ContextOnlyDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(0, nullptr);
}
-CallInterfaceDescriptor OnStackArgsDescriptorBase::ForArgs(
- Isolate* isolate, int parameter_count) {
- switch (parameter_count) {
- case 1:
- return OnStackWith1ArgsDescriptor(isolate);
- case 2:
- return OnStackWith2ArgsDescriptor(isolate);
- case 3:
- return OnStackWith3ArgsDescriptor(isolate);
- case 4:
- return OnStackWith4ArgsDescriptor(isolate);
- case 5:
- return OnStackWith5ArgsDescriptor(isolate);
- case 6:
- return OnStackWith6ArgsDescriptor(isolate);
- case 7:
- return OnStackWith7ArgsDescriptor(isolate);
- default:
- UNREACHABLE();
- return VoidDescriptor(isolate);
- }
-}
-
-void OnStackArgsDescriptorBase::InitializePlatformIndependent(
- CallInterfaceDescriptorData* data) {
- data->InitializePlatformIndependent(0, extra_args(), NULL);
-}
-
-void OnStackArgsDescriptorBase::InitializePlatformSpecific(
- CallInterfaceDescriptorData* data) {
- data->InitializePlatformSpecific(0, nullptr);
-}
-
void GrowArrayElementsDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {ObjectRegister(), KeyRegister()};
« no previous file with comments | « src/interface-descriptors.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698