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

Side by Side Diff: src/interface-descriptors.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/interface-descriptors.h ('k') | src/mips/builtins-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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } 155 }
156 156
157 157
158 void InstanceOfDescriptor::InitializePlatformSpecific( 158 void InstanceOfDescriptor::InitializePlatformSpecific(
159 CallInterfaceDescriptorData* data) { 159 CallInterfaceDescriptorData* data) {
160 Register registers[] = {LeftRegister(), RightRegister()}; 160 Register registers[] = {LeftRegister(), RightRegister()};
161 data->InitializePlatformSpecific(arraysize(registers), registers); 161 data->InitializePlatformSpecific(arraysize(registers), registers);
162 } 162 }
163 163
164 164
165 void ToStringDescriptor::InitializePlatformSpecific(
166 CallInterfaceDescriptorData* data) {
167 Register registers[] = {ReceiverRegister()};
168 data->InitializePlatformSpecific(arraysize(registers), registers);
169 }
170
171
165 void ToObjectDescriptor::InitializePlatformSpecific( 172 void ToObjectDescriptor::InitializePlatformSpecific(
166 CallInterfaceDescriptorData* data) { 173 CallInterfaceDescriptorData* data) {
167 Register registers[] = {ReceiverRegister()}; 174 Register registers[] = {ReceiverRegister()};
168 data->InitializePlatformSpecific(arraysize(registers), registers); 175 data->InitializePlatformSpecific(arraysize(registers), registers);
169 } 176 }
170 177
171 178
172 void MathPowTaggedDescriptor::InitializePlatformSpecific( 179 void MathPowTaggedDescriptor::InitializePlatformSpecific(
173 CallInterfaceDescriptorData* data) { 180 CallInterfaceDescriptorData* data) {
174 Register registers[] = {exponent()}; 181 Register registers[] = {exponent()};
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); 447 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone());
441 function->InitParameter(0, Type::Receiver()); 448 function->InitParameter(0, Type::Receiver());
442 function->InitParameter(1, SmiType()); 449 function->InitParameter(1, SmiType());
443 function->InitParameter(2, AnyTagged()); 450 function->InitParameter(2, AnyTagged());
444 function->InitParameter(3, AnyTagged()); 451 function->InitParameter(3, AnyTagged());
445 function->InitParameter(4, AnyTagged()); 452 function->InitParameter(4, AnyTagged());
446 return function; 453 return function;
447 } 454 }
448 } // namespace internal 455 } // namespace internal
449 } // namespace v8 456 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698