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

Unified Diff: src/interface-descriptors.cc

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: replaced obscure for-loop 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
Index: src/interface-descriptors.cc
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc
index 78ad77b9bd2d45bc243858ae09ad079029b2d1ac..3ade26a1c4c7ac6bd61051d7520790511d451a75 100644
--- a/src/interface-descriptors.cc
+++ b/src/interface-descriptors.cc
@@ -377,14 +377,16 @@ void GrowArrayElementsDescriptor::InitializePlatformSpecific(
void NewArgumentsElementsDescriptor::InitializePlatformIndependent(
CallInterfaceDescriptorData* data) {
- MachineType const kMachineTypes[] = {MachineType::IntPtr()};
+ // kFrame, kLength
+ MachineType const kMachineTypes[] = {MachineType::Pointer(),
+ MachineType::TaggedSigned()};
data->InitializePlatformIndependent(arraysize(kMachineTypes), 0,
kMachineTypes);
}
void NewArgumentsElementsDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
- DefaultInitializePlatformSpecific(data, 1);
+ DefaultInitializePlatformSpecific(data, 2);
}
void VarArgFunctionDescriptor::InitializePlatformIndependent(

Powered by Google App Engine
This is Rietveld 408576698