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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 Register registers[] = {LeftRegister(), RightRegister()}; | 196 Register registers[] = {LeftRegister(), RightRegister()}; |
197 data->InitializePlatformSpecific(arraysize(registers), registers); | 197 data->InitializePlatformSpecific(arraysize(registers), registers); |
198 } | 198 } |
199 | 199 |
200 void TypeConversionDescriptor::InitializePlatformSpecific( | 200 void TypeConversionDescriptor::InitializePlatformSpecific( |
201 CallInterfaceDescriptorData* data) { | 201 CallInterfaceDescriptorData* data) { |
202 Register registers[] = {ArgumentRegister()}; | 202 Register registers[] = {ArgumentRegister()}; |
203 data->InitializePlatformSpecific(arraysize(registers), registers); | 203 data->InitializePlatformSpecific(arraysize(registers), registers); |
204 } | 204 } |
205 | 205 |
| 206 void HasPropertyDescriptor::InitializePlatformSpecific( |
| 207 CallInterfaceDescriptorData* data) { |
| 208 Register registers[] = {KeyRegister(), ObjectRegister()}; |
| 209 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 210 } |
206 | 211 |
207 void MathPowTaggedDescriptor::InitializePlatformSpecific( | 212 void MathPowTaggedDescriptor::InitializePlatformSpecific( |
208 CallInterfaceDescriptorData* data) { | 213 CallInterfaceDescriptorData* data) { |
209 Register registers[] = {exponent()}; | 214 Register registers[] = {exponent()}; |
210 data->InitializePlatformSpecific(arraysize(registers), registers); | 215 data->InitializePlatformSpecific(arraysize(registers), registers); |
211 } | 216 } |
212 | 217 |
213 | 218 |
214 void MathPowIntegerDescriptor::InitializePlatformSpecific( | 219 void MathPowIntegerDescriptor::InitializePlatformSpecific( |
215 CallInterfaceDescriptorData* data) { | 220 CallInterfaceDescriptorData* data) { |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); | 537 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); |
533 function->InitParameter(kRegisterFileParameter, ExternalPointer(zone)); | 538 function->InitParameter(kRegisterFileParameter, ExternalPointer(zone)); |
534 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); | 539 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); |
535 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); | 540 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); |
536 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); | 541 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); |
537 return function; | 542 return function; |
538 } | 543 } |
539 | 544 |
540 } // namespace internal | 545 } // namespace internal |
541 } // namespace v8 | 546 } // namespace v8 |
OLD | NEW |