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

Side by Side Diff: src/arm/interface-descriptors-arm.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/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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 96
97 void ToNumberDescriptor::InitializePlatformSpecific( 97 void ToNumberDescriptor::InitializePlatformSpecific(
98 CallInterfaceDescriptorData* data) { 98 CallInterfaceDescriptorData* data) {
99 Register registers[] = {r0}; 99 Register registers[] = {r0};
100 data->InitializePlatformSpecific(arraysize(registers), registers); 100 data->InitializePlatformSpecific(arraysize(registers), registers);
101 } 101 }
102 102
103 103
104 // static 104 // static
105 const Register ToLengthDescriptor::ReceiverRegister() { return r0; }
106
107
108 // static
105 const Register ToStringDescriptor::ReceiverRegister() { return r0; } 109 const Register ToStringDescriptor::ReceiverRegister() { return r0; }
106 110
107 111
108 // static 112 // static
109 const Register ToObjectDescriptor::ReceiverRegister() { return r0; } 113 const Register ToObjectDescriptor::ReceiverRegister() { return r0; }
110 114
111 115
112 void NumberToStringDescriptor::InitializePlatformSpecific( 116 void NumberToStringDescriptor::InitializePlatformSpecific(
113 CallInterfaceDescriptorData* data) { 117 CallInterfaceDescriptorData* data) {
114 Register registers[] = {r0}; 118 Register registers[] = {r0};
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 r2, // address of first argument (argv) 450 r2, // address of first argument (argv)
447 r1 // the runtime function to call 451 r1 // the runtime function to call
448 }; 452 };
449 data->InitializePlatformSpecific(arraysize(registers), registers); 453 data->InitializePlatformSpecific(arraysize(registers), registers);
450 } 454 }
451 455
452 } // namespace internal 456 } // namespace internal
453 } // namespace v8 457 } // namespace v8
454 458
455 #endif // V8_TARGET_ARCH_ARM 459 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698