| 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_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 void CallFunctionDescriptor::InitializePlatformSpecific( | 137 void CallFunctionDescriptor::InitializePlatformSpecific( |
| 138 CallInterfaceDescriptorData* data) { | 138 CallInterfaceDescriptorData* data) { |
| 139 Register registers[] = {a1}; | 139 Register registers[] = {a1}; |
| 140 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 140 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 141 } | 141 } |
| 142 | 142 |
| 143 | 143 |
| 144 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 144 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
| 145 CallInterfaceDescriptorData* data) { | 145 CallInterfaceDescriptorData* data) { |
| 146 Register registers[] = {a1, a3}; | 146 Register registers[] = {a1, a0, a3}; |
| 147 data->InitializePlatformSpecific(arraysize(registers), registers); | 147 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 148 } | 148 } |
| 149 | 149 |
| 150 | 150 |
| 151 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 151 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
| 152 CallInterfaceDescriptorData* data) { | 152 CallInterfaceDescriptorData* data) { |
| 153 Register registers[] = {a1, a0, a3, a2}; | 153 Register registers[] = {a1, a0, a3, a2}; |
| 154 data->InitializePlatformSpecific(arraysize(registers), registers); | 154 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 155 } | 155 } |
| 156 | 156 |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 Register registers[] = { | 420 Register registers[] = { |
| 421 a1, // loaded new FP | 421 a1, // loaded new FP |
| 422 }; | 422 }; |
| 423 data->InitializePlatformSpecific(arraysize(registers), registers); | 423 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 424 } | 424 } |
| 425 | 425 |
| 426 } // namespace internal | 426 } // namespace internal |
| 427 } // namespace v8 | 427 } // namespace v8 |
| 428 | 428 |
| 429 #endif // V8_TARGET_ARCH_MIPS | 429 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |