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

Side by Side Diff: src/interface-descriptors.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/interface-descriptors.h ('k') | src/mips/code-stubs-mips.cc » ('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 #include "src/interface-descriptors.h" 5 #include "src/interface-descriptors.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 9
10 namespace { 10 namespace {
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 } 209 }
210 210
211 211
212 void ToStringDescriptor::InitializePlatformSpecific( 212 void ToStringDescriptor::InitializePlatformSpecific(
213 CallInterfaceDescriptorData* data) { 213 CallInterfaceDescriptorData* data) {
214 Register registers[] = {ReceiverRegister()}; 214 Register registers[] = {ReceiverRegister()};
215 data->InitializePlatformSpecific(arraysize(registers), registers); 215 data->InitializePlatformSpecific(arraysize(registers), registers);
216 } 216 }
217 217
218 218
219 void ToNameDescriptor::InitializePlatformSpecific(
220 CallInterfaceDescriptorData* data) {
221 Register registers[] = {ReceiverRegister()};
222 data->InitializePlatformSpecific(arraysize(registers), registers);
223 }
224
225
219 void ToObjectDescriptor::InitializePlatformSpecific( 226 void ToObjectDescriptor::InitializePlatformSpecific(
220 CallInterfaceDescriptorData* data) { 227 CallInterfaceDescriptorData* data) {
221 Register registers[] = {ReceiverRegister()}; 228 Register registers[] = {ReceiverRegister()};
222 data->InitializePlatformSpecific(arraysize(registers), registers); 229 data->InitializePlatformSpecific(arraysize(registers), registers);
223 } 230 }
224 231
225 232
226 void MathPowTaggedDescriptor::InitializePlatformSpecific( 233 void MathPowTaggedDescriptor::InitializePlatformSpecific(
227 CallInterfaceDescriptorData* data) { 234 CallInterfaceDescriptorData* data) {
228 Register registers[] = {exponent()}; 235 Register registers[] = {exponent()};
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 function->InitParameter(0, AnyTagged(zone)); // callee 590 function->InitParameter(0, AnyTagged(zone)); // callee
584 function->InitParameter(1, AnyTagged(zone)); // call_data 591 function->InitParameter(1, AnyTagged(zone)); // call_data
585 function->InitParameter(2, AnyTagged(zone)); // holder 592 function->InitParameter(2, AnyTagged(zone)); // holder
586 function->InitParameter(3, ExternalPointer(zone)); // api_function_address 593 function->InitParameter(3, ExternalPointer(zone)); // api_function_address
587 return function; 594 return function;
588 } 595 }
589 596
590 597
591 } // namespace internal 598 } // namespace internal
592 } // namespace v8 599 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698