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

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

Issue 1319973007: [runtime] Add %ToString and %_ToString and remove the TO_STRING builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/code-factory.h » ('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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 void ToNumberDescriptor::InitializePlatformSpecific( 94 void ToNumberDescriptor::InitializePlatformSpecific(
95 CallInterfaceDescriptorData* data) { 95 CallInterfaceDescriptorData* data) {
96 // x0: value 96 // x0: value
97 Register registers[] = {x0}; 97 Register registers[] = {x0};
98 data->InitializePlatformSpecific(arraysize(registers), registers); 98 data->InitializePlatformSpecific(arraysize(registers), registers);
99 } 99 }
100 100
101 101
102 // static 102 // static
103 const Register ToStringDescriptor::ReceiverRegister() { return x0; }
104
105
106 // static
103 const Register ToObjectDescriptor::ReceiverRegister() { return x0; } 107 const Register ToObjectDescriptor::ReceiverRegister() { return x0; }
104 108
105 109
106 void NumberToStringDescriptor::InitializePlatformSpecific( 110 void NumberToStringDescriptor::InitializePlatformSpecific(
107 CallInterfaceDescriptorData* data) { 111 CallInterfaceDescriptorData* data) {
108 // x0: value 112 // x0: value
109 Register registers[] = {x0}; 113 Register registers[] = {x0};
110 data->InitializePlatformSpecific(arraysize(registers), registers); 114 data->InitializePlatformSpecific(arraysize(registers), registers);
111 } 115 }
112 116
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 x1, // math rounding function 421 x1, // math rounding function
418 x3, // vector slot id 422 x3, // vector slot id
419 x4, // type vector 423 x4, // type vector
420 }; 424 };
421 data->InitializePlatformSpecific(arraysize(registers), registers); 425 data->InitializePlatformSpecific(arraysize(registers), registers);
422 } 426 }
423 } // namespace internal 427 } // namespace internal
424 } // namespace v8 428 } // namespace v8
425 429
426 #endif // V8_TARGET_ARCH_ARM64 430 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698