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

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

Issue 1412963002: [runtime] Implement %_ToLength via ToLengthStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 void ToNumberDescriptor::InitializePlatformSpecific( 97 void ToNumberDescriptor::InitializePlatformSpecific(
98 CallInterfaceDescriptorData* data) { 98 CallInterfaceDescriptorData* data) {
99 // x0: value 99 // x0: value
100 Register registers[] = {x0}; 100 Register registers[] = {x0};
101 data->InitializePlatformSpecific(arraysize(registers), registers); 101 data->InitializePlatformSpecific(arraysize(registers), registers);
102 } 102 }
103 103
104 104
105 // static 105 // static
106 const Register ToLengthDescriptor::ReceiverRegister() { return x0; }
107
108
109 // static
106 const Register ToStringDescriptor::ReceiverRegister() { return x0; } 110 const Register ToStringDescriptor::ReceiverRegister() { return x0; }
107 111
108 112
109 // static 113 // static
110 const Register ToObjectDescriptor::ReceiverRegister() { return x0; } 114 const Register ToObjectDescriptor::ReceiverRegister() { return x0; }
111 115
112 116
113 void NumberToStringDescriptor::InitializePlatformSpecific( 117 void NumberToStringDescriptor::InitializePlatformSpecific(
114 CallInterfaceDescriptorData* data) { 118 CallInterfaceDescriptorData* data) {
115 // x0: value 119 // x0: value
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 x1 // the runtime function to call 480 x1 // the runtime function to call
477 }; 481 };
478 data->InitializePlatformSpecific(arraysize(registers), registers); 482 data->InitializePlatformSpecific(arraysize(registers), registers);
479 } 483 }
480 484
481 485
482 } // namespace internal 486 } // namespace internal
483 } // namespace v8 487 } // namespace v8
484 488
485 #endif // V8_TARGET_ARCH_ARM64 489 #endif // V8_TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698