| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 } | 158 } |
| 159 | 159 |
| 160 | 160 |
| 161 void CreateWeakCellDescriptor::InitializePlatformSpecific( | 161 void CreateWeakCellDescriptor::InitializePlatformSpecific( |
| 162 CallInterfaceDescriptorData* data) { | 162 CallInterfaceDescriptorData* data) { |
| 163 Register registers[] = {a2, a3, a1}; | 163 Register registers[] = {a2, a3, a1}; |
| 164 data->InitializePlatformSpecific(arraysize(registers), registers); | 164 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 165 } | 165 } |
| 166 | 166 |
| 167 | 167 |
| 168 void StoreArrayLiteralElementDescriptor::InitializePlatformSpecific( | |
| 169 CallInterfaceDescriptorData* data) { | |
| 170 Register registers[] = {a3, a0}; | |
| 171 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
| 172 } | |
| 173 | |
| 174 | |
| 175 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 168 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
| 176 CallInterfaceDescriptorData* data) { | 169 CallInterfaceDescriptorData* data) { |
| 177 Register registers[] = {a1, a3}; | 170 Register registers[] = {a1, a3}; |
| 178 data->InitializePlatformSpecific(arraysize(registers), registers); | 171 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 179 } | 172 } |
| 180 | 173 |
| 181 | 174 |
| 182 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 175 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
| 183 CallInterfaceDescriptorData* data) { | 176 CallInterfaceDescriptorData* data) { |
| 184 Register registers[] = {a1, a3, a2}; | 177 Register registers[] = {a1, a3, a2}; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 a2, // address of first argument (argv) | 431 a2, // address of first argument (argv) |
| 439 a1 // the runtime function to call | 432 a1 // the runtime function to call |
| 440 }; | 433 }; |
| 441 data->InitializePlatformSpecific(arraysize(registers), registers); | 434 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 442 } | 435 } |
| 443 | 436 |
| 444 } // namespace internal | 437 } // namespace internal |
| 445 } // namespace v8 | 438 } // namespace v8 |
| 446 | 439 |
| 447 #endif // V8_TARGET_ARCH_MIPS64 | 440 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |