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

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

Issue 2832193002: Revert of [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « src/interface-descriptors.h ('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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 485
486 void CallICTrampolineDescriptor::InitializePlatformIndependent( 486 void CallICTrampolineDescriptor::InitializePlatformIndependent(
487 CallInterfaceDescriptorData* data) { 487 CallInterfaceDescriptorData* data) {
488 // kTarget, kActualArgumentsCount, kSlot 488 // kTarget, kActualArgumentsCount, kSlot
489 MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(), 489 MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(),
490 MachineType::Int32()}; 490 MachineType::Int32()};
491 data->InitializePlatformIndependent(arraysize(machine_types), 0, 491 data->InitializePlatformIndependent(arraysize(machine_types), 0,
492 machine_types); 492 machine_types);
493 } 493 }
494 494
495 void RegExpExecDescriptor::InitializePlatformIndependent(
496 CallInterfaceDescriptorData* data) {
497 // kString, kLastIndex, kStringStart, kStringEnd, kEntryPoint
498 MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(),
499 MachineType::Pointer(), MachineType::Pointer(),
500 MachineType::AnyTagged()};
501 data->InitializePlatformIndependent(arraysize(machine_types), 0,
502 machine_types);
503 }
504
505 void RegExpExecDescriptor::InitializePlatformSpecific(
506 CallInterfaceDescriptorData* data) {
507 Register registers[] = {StringRegister(), LastIndexRegister(),
508 StringStartRegister(), StringEndRegister(),
509 CodeRegister()};
510 data->InitializePlatformSpecific(arraysize(registers), registers);
511 }
512
495 void BuiltinDescriptor::InitializePlatformIndependent( 513 void BuiltinDescriptor::InitializePlatformIndependent(
496 CallInterfaceDescriptorData* data) { 514 CallInterfaceDescriptorData* data) {
497 // kTarget, kNewTarget, kArgumentsCount 515 // kTarget, kNewTarget, kArgumentsCount
498 MachineType machine_types[] = { 516 MachineType machine_types[] = {
499 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()}; 517 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()};
500 data->InitializePlatformIndependent(arraysize(machine_types), 0, 518 data->InitializePlatformIndependent(arraysize(machine_types), 0,
501 machine_types); 519 machine_types);
502 } 520 }
503 521
504 void BuiltinDescriptor::InitializePlatformSpecific( 522 void BuiltinDescriptor::InitializePlatformSpecific(
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( 649 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent(
632 CallInterfaceDescriptorData* data) { 650 CallInterfaceDescriptorData* data) {
633 // New FP value. 651 // New FP value.
634 MachineType machine_types[] = {MachineType::Pointer()}; 652 MachineType machine_types[] = {MachineType::Pointer()};
635 data->InitializePlatformIndependent(arraysize(machine_types), 0, 653 data->InitializePlatformIndependent(arraysize(machine_types), 0,
636 machine_types); 654 machine_types);
637 } 655 }
638 656
639 } // namespace internal 657 } // namespace internal
640 } // namespace v8 658 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698