Chromium Code Reviews

Unified Diff: src/interface-descriptors.cc

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: addressed comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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(
« src/deoptimizer.cc ('K') | « src/interface-descriptors.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine