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

Unified Diff: src/interface-descriptors.cc

Issue 1676883002: [runtime] Optimize and unify rest parameters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
Index: src/interface-descriptors.cc
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc
index 3996f63698294b233dd3113a3604e5dbe2d5c2d8..8fbdcc13e86d74624b27c75f1f9062ae9c24ac4c 100644
--- a/src/interface-descriptors.cc
+++ b/src/interface-descriptors.cc
@@ -365,26 +365,6 @@ void ArgumentsAccessNewDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers);
}
-FunctionType*
-RestParamAccessDescriptor::BuildCallInterfaceDescriptorFunctionType(
- Isolate* isolate, int paramater_count) {
- Zone* zone = isolate->interface_descriptor_zone();
- FunctionType* function =
- Type::Function(AnyTagged(zone), Type::Undefined(), 3, zone)->AsFunction();
- function->InitParameter(0, SmiType(zone));
- function->InitParameter(1, ExternalPointer(zone));
- function->InitParameter(2, SmiType(zone));
- return function;
-}
-
-
-void RestParamAccessDescriptor::InitializePlatformSpecific(
- CallInterfaceDescriptorData* data) {
- Register registers[] = {parameter_count(), parameter_pointer(),
- rest_parameter_index()};
- data->InitializePlatformSpecific(arraysize(registers), registers);
-}
-
void ContextOnlyDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {

Powered by Google App Engine
This is Rietveld 408576698