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

Unified Diff: src/interface-descriptors.cc

Issue 1559903003: Remove strong mode support from rest argument creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: nit. Created 4 years, 11 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') | src/mips/code-stubs-mips.cc » ('j') | 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 25b3d250fb9096de5e93ac196549e4ea5451de3f..94ed7020c3f7f6bf55d0c341b76e8cd24005b374 100644
--- a/src/interface-descriptors.cc
+++ b/src/interface-descriptors.cc
@@ -375,11 +375,10 @@ RestParamAccessDescriptor::BuildCallInterfaceDescriptorFunctionType(
Isolate* isolate, int paramater_count) {
Zone* zone = isolate->interface_descriptor_zone();
Type::FunctionType* function =
- Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 4, zone);
+ Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 3, zone);
function->InitParameter(0, SmiType(zone));
function->InitParameter(1, ExternalPointer(zone));
function->InitParameter(2, SmiType(zone));
- function->InitParameter(3, SmiType(zone));
return function;
}
@@ -387,7 +386,7 @@ RestParamAccessDescriptor::BuildCallInterfaceDescriptorFunctionType(
void RestParamAccessDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {parameter_count(), parameter_pointer(),
- rest_parameter_index(), language_mode()};
+ rest_parameter_index()};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698