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

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

Issue 1622493002: [stubs] Introduce ToNameStub to implement %_ToName. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix BuildNumberToString type in Crankshaft. Created 4 years, 11 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/x64/code-stubs-x64.cc ('k') | no next file » | 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_X64 5 #if V8_TARGET_ARCH_X64
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 // static 115 // static
116 const Register ToLengthDescriptor::ReceiverRegister() { return rax; } 116 const Register ToLengthDescriptor::ReceiverRegister() { return rax; }
117 117
118 118
119 // static 119 // static
120 const Register ToStringDescriptor::ReceiverRegister() { return rax; } 120 const Register ToStringDescriptor::ReceiverRegister() { return rax; }
121 121
122 122
123 // static 123 // static
124 const Register ToNameDescriptor::ReceiverRegister() { return rax; }
125
126
127 // static
124 const Register ToObjectDescriptor::ReceiverRegister() { return rax; } 128 const Register ToObjectDescriptor::ReceiverRegister() { return rax; }
125 129
126 130
127 void NumberToStringDescriptor::InitializePlatformSpecific( 131 void NumberToStringDescriptor::InitializePlatformSpecific(
128 CallInterfaceDescriptorData* data) { 132 CallInterfaceDescriptorData* data) {
129 Register registers[] = {rax}; 133 Register registers[] = {rax};
130 data->InitializePlatformSpecific(arraysize(registers), registers); 134 data->InitializePlatformSpecific(arraysize(registers), registers);
131 } 135 }
132 136
133 137
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 r15, // address of first argument (argv) 434 r15, // address of first argument (argv)
431 rbx // the runtime function to call 435 rbx // the runtime function to call
432 }; 436 };
433 data->InitializePlatformSpecific(arraysize(registers), registers); 437 data->InitializePlatformSpecific(arraysize(registers), registers);
434 } 438 }
435 439
436 } // namespace internal 440 } // namespace internal
437 } // namespace v8 441 } // namespace v8
438 442
439 #endif // V8_TARGET_ARCH_X64 443 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698