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

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

Issue 1696743002: PPC: [runtime] Introduce FastNewStrictArgumentsStub to optimize strict arguments. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #if V8_TARGET_ARCH_PPC 5 #if V8_TARGET_ARCH_PPC
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 Register registers[] = {r4}; 90 Register registers[] = {r4};
91 data->InitializePlatformSpecific(arraysize(registers), registers); 91 data->InitializePlatformSpecific(arraysize(registers), registers);
92 } 92 }
93 93
94 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 94 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
95 CallInterfaceDescriptorData* data) { 95 CallInterfaceDescriptorData* data) {
96 Register registers[] = {r4}; 96 Register registers[] = {r4};
97 data->InitializePlatformSpecific(arraysize(registers), registers); 97 data->InitializePlatformSpecific(arraysize(registers), registers);
98 } 98 }
99 99
100 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
101 CallInterfaceDescriptorData* data) {
102 Register registers[] = {r4};
103 data->InitializePlatformSpecific(arraysize(registers), registers);
104 }
100 105
101 void ToNumberDescriptor::InitializePlatformSpecific( 106 void ToNumberDescriptor::InitializePlatformSpecific(
102 CallInterfaceDescriptorData* data) { 107 CallInterfaceDescriptorData* data) {
103 Register registers[] = {r3}; 108 Register registers[] = {r3};
104 data->InitializePlatformSpecific(arraysize(registers), registers); 109 data->InitializePlatformSpecific(arraysize(registers), registers);
105 } 110 }
106 111
107 112
108 // static 113 // static
109 const Register ToLengthDescriptor::ReceiverRegister() { return r3; } 114 const Register ToLengthDescriptor::ReceiverRegister() { return r3; }
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 r3, // argument count (argc) 445 r3, // argument count (argc)
441 r5, // address of first argument (argv) 446 r5, // address of first argument (argv)
442 r4 // the runtime function to call 447 r4 // the runtime function to call
443 }; 448 };
444 data->InitializePlatformSpecific(arraysize(registers), registers); 449 data->InitializePlatformSpecific(arraysize(registers), registers);
445 } 450 }
446 } // namespace internal 451 } // namespace internal
447 } // namespace v8 452 } // namespace v8
448 453
449 #endif // V8_TARGET_ARCH_PPC 454 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698