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

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

Issue 2532483002: [stubs] Port FastFunctionBindStub to TF (Closed)
Patch Set: Review feedback 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/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // kFunction, kActualArgumentsCount, kSlot, kVector 383 // kFunction, kActualArgumentsCount, kSlot, kVector
384 MachineType machine_types[] = { 384 MachineType machine_types[] = {
385 MachineType::TaggedPointer(), MachineType::Int32(), 385 MachineType::TaggedPointer(), MachineType::Int32(),
386 MachineType::TaggedSigned(), MachineType::AnyTagged()}; 386 MachineType::TaggedSigned(), MachineType::AnyTagged()};
387 data->InitializePlatformIndependent(arraysize(machine_types), 0, 387 data->InitializePlatformIndependent(arraysize(machine_types), 0,
388 machine_types); 388 machine_types);
389 } 389 }
390 390
391 void BuiltinDescriptor::InitializePlatformIndependent( 391 void BuiltinDescriptor::InitializePlatformIndependent(
392 CallInterfaceDescriptorData* data) { 392 CallInterfaceDescriptorData* data) {
393 MachineType machine_types[] = { 393 MachineType machine_types[] = {MachineType::AnyTagged(),
394 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()}; 394 MachineType::AnyTagged(),
395 MachineType::Pointer()};
395 data->InitializePlatformIndependent(arraysize(machine_types), 0, 396 data->InitializePlatformIndependent(arraysize(machine_types), 0,
396 machine_types); 397 machine_types);
397 } 398 }
398 399
399 void BuiltinDescriptor::InitializePlatformSpecific( 400 void BuiltinDescriptor::InitializePlatformSpecific(
400 CallInterfaceDescriptorData* data) { 401 CallInterfaceDescriptorData* data) {
401 Register registers[] = {TargetRegister(), NewTargetRegister(), 402 Register registers[] = {TargetRegister(), NewTargetRegister(),
402 ArgumentsCountRegister()}; 403 ArgumentsCountRegister()};
403 data->InitializePlatformSpecific(arraysize(registers), registers); 404 data->InitializePlatformSpecific(arraysize(registers), registers);
404 } 405 }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 CallInterfaceDescriptorData* data) { 510 CallInterfaceDescriptorData* data) {
510 // kNumberOfArguments, kFirstArgument, kFunctionEntry 511 // kNumberOfArguments, kFirstArgument, kFunctionEntry
511 MachineType machine_types[] = {MachineType::Int32(), MachineType::Pointer(), 512 MachineType machine_types[] = {MachineType::Int32(), MachineType::Pointer(),
512 MachineType::Pointer()}; 513 MachineType::Pointer()};
513 data->InitializePlatformIndependent(arraysize(machine_types), 0, 514 data->InitializePlatformIndependent(arraysize(machine_types), 0,
514 machine_types); 515 machine_types);
515 } 516 }
516 517
517 } // namespace internal 518 } // namespace internal
518 } // namespace v8 519 } // namespace v8
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698