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

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

Issue 2752143003: [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Fix non-sim arm64 and mips builds 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
513 void BuiltinDescriptor::InitializePlatformIndependent( 495 void BuiltinDescriptor::InitializePlatformIndependent(
514 CallInterfaceDescriptorData* data) { 496 CallInterfaceDescriptorData* data) {
515 // kTarget, kNewTarget, kArgumentsCount 497 // kTarget, kNewTarget, kArgumentsCount
516 MachineType machine_types[] = { 498 MachineType machine_types[] = {
517 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()}; 499 MachineType::AnyTagged(), MachineType::AnyTagged(), MachineType::Int32()};
518 data->InitializePlatformIndependent(arraysize(machine_types), 0, 500 data->InitializePlatformIndependent(arraysize(machine_types), 0,
519 machine_types); 501 machine_types);
520 } 502 }
521 503
522 void BuiltinDescriptor::InitializePlatformSpecific( 504 void BuiltinDescriptor::InitializePlatformSpecific(
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent( 631 void FrameDropperTrampolineDescriptor::InitializePlatformIndependent(
650 CallInterfaceDescriptorData* data) { 632 CallInterfaceDescriptorData* data) {
651 // New FP value. 633 // New FP value.
652 MachineType machine_types[] = {MachineType::Pointer()}; 634 MachineType machine_types[] = {MachineType::Pointer()};
653 data->InitializePlatformIndependent(arraysize(machine_types), 0, 635 data->InitializePlatformIndependent(arraysize(machine_types), 0,
654 machine_types); 636 machine_types);
655 } 637 }
656 638
657 } // namespace internal 639 } // namespace internal
658 } // namespace v8 640 } // 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