OLD | NEW |
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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 } | 160 } |
161 | 161 |
162 | 162 |
163 void InstanceOfDescriptor::InitializePlatformSpecific( | 163 void InstanceOfDescriptor::InitializePlatformSpecific( |
164 CallInterfaceDescriptorData* data) { | 164 CallInterfaceDescriptorData* data) { |
165 Register registers[] = {LeftRegister(), RightRegister()}; | 165 Register registers[] = {LeftRegister(), RightRegister()}; |
166 data->InitializePlatformSpecific(arraysize(registers), registers); | 166 data->InitializePlatformSpecific(arraysize(registers), registers); |
167 } | 167 } |
168 | 168 |
169 | 169 |
| 170 void StringCompareDescriptor::InitializePlatformSpecific( |
| 171 CallInterfaceDescriptorData* data) { |
| 172 Register registers[] = {LeftRegister(), RightRegister()}; |
| 173 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 174 } |
| 175 |
| 176 |
170 void ToStringDescriptor::InitializePlatformSpecific( | 177 void ToStringDescriptor::InitializePlatformSpecific( |
171 CallInterfaceDescriptorData* data) { | 178 CallInterfaceDescriptorData* data) { |
172 Register registers[] = {ReceiverRegister()}; | 179 Register registers[] = {ReceiverRegister()}; |
173 data->InitializePlatformSpecific(arraysize(registers), registers); | 180 data->InitializePlatformSpecific(arraysize(registers), registers); |
174 } | 181 } |
175 | 182 |
176 | 183 |
177 void ToObjectDescriptor::InitializePlatformSpecific( | 184 void ToObjectDescriptor::InitializePlatformSpecific( |
178 CallInterfaceDescriptorData* data) { | 185 CallInterfaceDescriptorData* data) { |
179 Register registers[] = {ReceiverRegister()}; | 186 Register registers[] = {ReceiverRegister()}; |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 5, zone); | 492 Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 5, zone); |
486 function->InitParameter(0, Type::Receiver()); | 493 function->InitParameter(0, Type::Receiver()); |
487 function->InitParameter(1, SmiType(zone)); | 494 function->InitParameter(1, SmiType(zone)); |
488 function->InitParameter(2, AnyTagged(zone)); | 495 function->InitParameter(2, AnyTagged(zone)); |
489 function->InitParameter(3, AnyTagged(zone)); | 496 function->InitParameter(3, AnyTagged(zone)); |
490 function->InitParameter(4, AnyTagged(zone)); | 497 function->InitParameter(4, AnyTagged(zone)); |
491 return function; | 498 return function; |
492 } | 499 } |
493 } // namespace internal | 500 } // namespace internal |
494 } // namespace v8 | 501 } // namespace v8 |
OLD | NEW |