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

Unified Diff: src/interface-descriptors.cc

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: handle the case where Deoptimizer::function_ is a Smi 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
« no previous file with comments | « src/interface-descriptors.h ('k') | src/objects.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 d77b1376159df35298293a05ec86e198cbac25b1..61a0d98229bcbe8edabdd138dec3d57b34cf4dd6 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(
« no previous file with comments | « src/interface-descriptors.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698