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

Side by Side Diff: src/mips64/interface-descriptors-mips64.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/mips64/code-stubs-mips64.cc ('k') | src/runtime.js » ('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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 93
94 void ToNumberDescriptor::InitializePlatformSpecific( 94 void ToNumberDescriptor::InitializePlatformSpecific(
95 CallInterfaceDescriptorData* data) { 95 CallInterfaceDescriptorData* data) {
96 Register registers[] = {a0}; 96 Register registers[] = {a0};
97 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 97 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
98 } 98 }
99 99
100 100
101 // static 101 // static
102 const Register ToStringDescriptor::ReceiverRegister() { return a0; }
103
104
105 // static
102 const Register ToObjectDescriptor::ReceiverRegister() { return a0; } 106 const Register ToObjectDescriptor::ReceiverRegister() { return a0; }
103 107
104 108
105 void NumberToStringDescriptor::InitializePlatformSpecific( 109 void NumberToStringDescriptor::InitializePlatformSpecific(
106 CallInterfaceDescriptorData* data) { 110 CallInterfaceDescriptorData* data) {
107 Register registers[] = {a0}; 111 Register registers[] = {a0};
108 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 112 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
109 } 113 }
110 114
111 115
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 a1, // math rounding function 369 a1, // math rounding function
366 a3, // vector slot id 370 a3, // vector slot id
367 a2, // type vector 371 a2, // type vector
368 }; 372 };
369 data->InitializePlatformSpecific(arraysize(registers), registers); 373 data->InitializePlatformSpecific(arraysize(registers), registers);
370 } 374 }
371 } // namespace internal 375 } // namespace internal
372 } // namespace v8 376 } // namespace v8
373 377
374 #endif // V8_TARGET_ARCH_MIPS64 378 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/runtime.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698