| 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 #if V8_TARGET_ARCH_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } | 102 } |
| 103 | 103 |
| 104 | 104 |
| 105 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | 105 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 106 CallInterfaceDescriptorData* data) { | 106 CallInterfaceDescriptorData* data) { |
| 107 Register registers[] = {a1}; | 107 Register registers[] = {a1}; |
| 108 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 108 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 109 } | 109 } |
| 110 | 110 |
| 111 | 111 |
| 112 void ToNumberDescriptor::InitializePlatformSpecific( | |
| 113 CallInterfaceDescriptorData* data) { | |
| 114 Register registers[] = {a0}; | |
| 115 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
| 116 } | |
| 117 | |
| 118 | |
| 119 // static | 112 // static |
| 120 const Register ToLengthDescriptor::ReceiverRegister() { return a0; } | 113 const Register TypeConversionDescriptor::ArgumentRegister() { return a0; } |
| 121 | |
| 122 | |
| 123 // static | |
| 124 const Register ToStringDescriptor::ReceiverRegister() { return a0; } | |
| 125 | |
| 126 | |
| 127 // static | |
| 128 const Register ToNameDescriptor::ReceiverRegister() { return a0; } | |
| 129 | |
| 130 | |
| 131 // static | |
| 132 const Register ToObjectDescriptor::ReceiverRegister() { return a0; } | |
| 133 | |
| 134 | |
| 135 void NumberToStringDescriptor::InitializePlatformSpecific( | |
| 136 CallInterfaceDescriptorData* data) { | |
| 137 Register registers[] = {a0}; | |
| 138 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
| 139 } | |
| 140 | |
| 141 | 114 |
| 142 void TypeofDescriptor::InitializePlatformSpecific( | 115 void TypeofDescriptor::InitializePlatformSpecific( |
| 143 CallInterfaceDescriptorData* data) { | 116 CallInterfaceDescriptorData* data) { |
| 144 Register registers[] = {a3}; | 117 Register registers[] = {a3}; |
| 145 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 118 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 146 } | 119 } |
| 147 | 120 |
| 148 | 121 |
| 149 void FastCloneRegExpDescriptor::InitializePlatformSpecific( | 122 void FastCloneRegExpDescriptor::InitializePlatformSpecific( |
| 150 CallInterfaceDescriptorData* data) { | 123 CallInterfaceDescriptorData* data) { |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 } | 284 } |
| 312 | 285 |
| 313 | 286 |
| 314 void CompareDescriptor::InitializePlatformSpecific( | 287 void CompareDescriptor::InitializePlatformSpecific( |
| 315 CallInterfaceDescriptorData* data) { | 288 CallInterfaceDescriptorData* data) { |
| 316 Register registers[] = {a1, a0}; | 289 Register registers[] = {a1, a0}; |
| 317 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 290 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 318 } | 291 } |
| 319 | 292 |
| 320 | 293 |
| 321 void ToBooleanDescriptor::InitializePlatformSpecific( | |
| 322 CallInterfaceDescriptorData* data) { | |
| 323 Register registers[] = {a0}; | |
| 324 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
| 325 } | |
| 326 | |
| 327 | |
| 328 void BinaryOpDescriptor::InitializePlatformSpecific( | 294 void BinaryOpDescriptor::InitializePlatformSpecific( |
| 329 CallInterfaceDescriptorData* data) { | 295 CallInterfaceDescriptorData* data) { |
| 330 Register registers[] = {a1, a0}; | 296 Register registers[] = {a1, a0}; |
| 331 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 297 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 332 } | 298 } |
| 333 | 299 |
| 334 | 300 |
| 335 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 301 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
| 336 CallInterfaceDescriptorData* data) { | 302 CallInterfaceDescriptorData* data) { |
| 337 Register registers[] = {a2, a1, a0}; | 303 Register registers[] = {a2, a1, a0}; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 a2, // address of first argument (argv) | 398 a2, // address of first argument (argv) |
| 433 a1 // the runtime function to call | 399 a1 // the runtime function to call |
| 434 }; | 400 }; |
| 435 data->InitializePlatformSpecific(arraysize(registers), registers); | 401 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 436 } | 402 } |
| 437 | 403 |
| 438 } // namespace internal | 404 } // namespace internal |
| 439 } // namespace v8 | 405 } // namespace v8 |
| 440 | 406 |
| 441 #endif // V8_TARGET_ARCH_MIPS64 | 407 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |