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

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

Issue 1693513002: [runtime] Introduce FastNewStrictArgumentsStub to optimize strict arguments. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix mips and mips64. 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/arm/code-stubs-arm.cc ('k') | src/arm64/builtins-arm64.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/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 94 }
95 95
96 96
97 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 97 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
98 CallInterfaceDescriptorData* data) { 98 CallInterfaceDescriptorData* data) {
99 Register registers[] = {r1}; 99 Register registers[] = {r1};
100 data->InitializePlatformSpecific(arraysize(registers), registers); 100 data->InitializePlatformSpecific(arraysize(registers), registers);
101 } 101 }
102 102
103 103
104 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
105 CallInterfaceDescriptorData* data) {
106 Register registers[] = {r1};
107 data->InitializePlatformSpecific(arraysize(registers), registers);
108 }
109
110
104 void ToNumberDescriptor::InitializePlatformSpecific( 111 void ToNumberDescriptor::InitializePlatformSpecific(
105 CallInterfaceDescriptorData* data) { 112 CallInterfaceDescriptorData* data) {
106 Register registers[] = {r0}; 113 Register registers[] = {r0};
107 data->InitializePlatformSpecific(arraysize(registers), registers); 114 data->InitializePlatformSpecific(arraysize(registers), registers);
108 } 115 }
109 116
110 117
111 // static 118 // static
112 const Register ToLengthDescriptor::ReceiverRegister() { return r0; } 119 const Register ToLengthDescriptor::ReceiverRegister() { return r0; }
113 120
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 r2, // address of first argument (argv) 475 r2, // address of first argument (argv)
469 r1 // the runtime function to call 476 r1 // the runtime function to call
470 }; 477 };
471 data->InitializePlatformSpecific(arraysize(registers), registers); 478 data->InitializePlatformSpecific(arraysize(registers), registers);
472 } 479 }
473 480
474 } // namespace internal 481 } // namespace internal
475 } // namespace v8 482 } // namespace v8
476 483
477 #endif // V8_TARGET_ARCH_ARM 484 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698