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

Side by Side Diff: src/interface-descriptors.cc

Issue 2557283002: [turbofan] Add NewUnmappedArgumentsElements and NewRestParametersArguments. (Closed)
Patch Set: Fixes. Created 4 years 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 unified diff | Download patch
« no previous file with comments | « src/interface-descriptors.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/interface-descriptors.h" 5 #include "src/interface-descriptors.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 9
10 10
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 CallInterfaceDescriptorData* data) { 287 CallInterfaceDescriptorData* data) {
288 data->InitializePlatformSpecific(0, nullptr); 288 data->InitializePlatformSpecific(0, nullptr);
289 } 289 }
290 290
291 void GrowArrayElementsDescriptor::InitializePlatformSpecific( 291 void GrowArrayElementsDescriptor::InitializePlatformSpecific(
292 CallInterfaceDescriptorData* data) { 292 CallInterfaceDescriptorData* data) {
293 Register registers[] = {ObjectRegister(), KeyRegister()}; 293 Register registers[] = {ObjectRegister(), KeyRegister()};
294 data->InitializePlatformSpecific(arraysize(registers), registers); 294 data->InitializePlatformSpecific(arraysize(registers), registers);
295 } 295 }
296 296
297 void NewArgumentsElementsDescriptor::InitializePlatformIndependent(
298 CallInterfaceDescriptorData* data) {
299 MachineType const kMachineTypes[] = {MachineType::IntPtr()};
300 data->InitializePlatformIndependent(arraysize(kMachineTypes), 0,
301 kMachineTypes);
302 }
303
304 void NewArgumentsElementsDescriptor::InitializePlatformSpecific(
305 CallInterfaceDescriptorData* data) {
306 DefaultInitializePlatformSpecific(data, 1);
307 }
308
297 void VarArgFunctionDescriptor::InitializePlatformIndependent( 309 void VarArgFunctionDescriptor::InitializePlatformIndependent(
298 CallInterfaceDescriptorData* data) { 310 CallInterfaceDescriptorData* data) {
299 // kActualArgumentsCount 311 // kActualArgumentsCount
300 MachineType machine_types[] = {MachineType::Int32()}; 312 MachineType machine_types[] = {MachineType::Int32()};
301 data->InitializePlatformIndependent(arraysize(machine_types), 0, 313 data->InitializePlatformIndependent(arraysize(machine_types), 0,
302 machine_types); 314 machine_types);
303 } 315 }
304 316
305 void FastCloneRegExpDescriptor::InitializePlatformIndependent( 317 void FastCloneRegExpDescriptor::InitializePlatformIndependent(
306 CallInterfaceDescriptorData* data) { 318 CallInterfaceDescriptorData* data) {
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 CallInterfaceDescriptorData* data) { 522 CallInterfaceDescriptorData* data) {
511 // kNumberOfArguments, kFirstArgument, kFunctionEntry 523 // kNumberOfArguments, kFirstArgument, kFunctionEntry
512 MachineType machine_types[] = {MachineType::Int32(), MachineType::Pointer(), 524 MachineType machine_types[] = {MachineType::Int32(), MachineType::Pointer(),
513 MachineType::Pointer()}; 525 MachineType::Pointer()};
514 data->InitializePlatformIndependent(arraysize(machine_types), 0, 526 data->InitializePlatformIndependent(arraysize(machine_types), 0,
515 machine_types); 527 machine_types);
516 } 528 }
517 529
518 } // namespace internal 530 } // namespace internal
519 } // namespace v8 531 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698