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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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/arm64/code-stubs-arm64.cc ('k') | src/bootstrapper.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/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 96
97 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 97 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
98 CallInterfaceDescriptorData* data) { 98 CallInterfaceDescriptorData* data) {
99 // x1: function 99 // x1: function
100 Register registers[] = {x1}; 100 Register registers[] = {x1};
101 data->InitializePlatformSpecific(arraysize(registers), registers); 101 data->InitializePlatformSpecific(arraysize(registers), registers);
102 } 102 }
103 103
104 104
105 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
106 CallInterfaceDescriptorData* data) {
107 // x1: function
108 Register registers[] = {x1};
109 data->InitializePlatformSpecific(arraysize(registers), registers);
110 }
111
112
105 void ToNumberDescriptor::InitializePlatformSpecific( 113 void ToNumberDescriptor::InitializePlatformSpecific(
106 CallInterfaceDescriptorData* data) { 114 CallInterfaceDescriptorData* data) {
107 // x0: value 115 // x0: value
108 Register registers[] = {x0}; 116 Register registers[] = {x0};
109 data->InitializePlatformSpecific(arraysize(registers), registers); 117 data->InitializePlatformSpecific(arraysize(registers), registers);
110 } 118 }
111 119
112 120
113 // static 121 // static
114 const Register ToLengthDescriptor::ReceiverRegister() { return x0; } 122 const Register ToLengthDescriptor::ReceiverRegister() { return x0; }
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 x1 // the runtime function to call 511 x1 // the runtime function to call
504 }; 512 };
505 data->InitializePlatformSpecific(arraysize(registers), registers); 513 data->InitializePlatformSpecific(arraysize(registers), registers);
506 } 514 }
507 515
508 516
509 } // namespace internal 517 } // namespace internal
510 } // namespace v8 518 } // namespace v8
511 519
512 #endif // V8_TARGET_ARCH_ARM64 520 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698