| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 } | 88 } |
| 89 | 89 |
| 90 | 90 |
| 91 void ToNumberDescriptor::InitializePlatformSpecific( | 91 void ToNumberDescriptor::InitializePlatformSpecific( |
| 92 CallInterfaceDescriptorData* data) { | 92 CallInterfaceDescriptorData* data) { |
| 93 Register registers[] = {a0}; | 93 Register registers[] = {a0}; |
| 94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 95 } | 95 } |
| 96 | 96 |
| 97 | 97 |
| 98 // static |
| 99 const Register ToObjectDescriptor::ReceiverRegister() { return a0; } |
| 100 |
| 101 |
| 98 void NumberToStringDescriptor::InitializePlatformSpecific( | 102 void NumberToStringDescriptor::InitializePlatformSpecific( |
| 99 CallInterfaceDescriptorData* data) { | 103 CallInterfaceDescriptorData* data) { |
| 100 Register registers[] = {a0}; | 104 Register registers[] = {a0}; |
| 101 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 105 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 102 } | 106 } |
| 103 | 107 |
| 104 | 108 |
| 105 void TypeofDescriptor::InitializePlatformSpecific( | 109 void TypeofDescriptor::InitializePlatformSpecific( |
| 106 CallInterfaceDescriptorData* data) { | 110 CallInterfaceDescriptorData* data) { |
| 107 Register registers[] = {a3}; | 111 Register registers[] = {a3}; |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 a1, // math rounding function | 362 a1, // math rounding function |
| 359 a3, // vector slot id | 363 a3, // vector slot id |
| 360 a2, // type vector | 364 a2, // type vector |
| 361 }; | 365 }; |
| 362 data->InitializePlatformSpecific(arraysize(registers), registers); | 366 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 363 } | 367 } |
| 364 } // namespace internal | 368 } // namespace internal |
| 365 } // namespace v8 | 369 } // namespace v8 |
| 366 | 370 |
| 367 #endif // V8_TARGET_ARCH_MIPS | 371 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |