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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 129 |
130 void CreateWeakCellDescriptor::InitializePlatformSpecific( | 130 void CreateWeakCellDescriptor::InitializePlatformSpecific( |
131 CallInterfaceDescriptorData* data) { | 131 CallInterfaceDescriptorData* data) { |
132 Register registers[] = {a2, a3, a1}; | 132 Register registers[] = {a2, a3, a1}; |
133 data->InitializePlatformSpecific(arraysize(registers), registers); | 133 data->InitializePlatformSpecific(arraysize(registers), registers); |
134 } | 134 } |
135 | 135 |
136 | 136 |
137 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 137 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
138 CallInterfaceDescriptorData* data) { | 138 CallInterfaceDescriptorData* data) { |
139 Register registers[] = {a1, a3}; | 139 Register registers[] = {a1, a0, a3}; |
140 data->InitializePlatformSpecific(arraysize(registers), registers); | 140 data->InitializePlatformSpecific(arraysize(registers), registers); |
141 } | 141 } |
142 | 142 |
143 | 143 |
144 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 144 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
145 CallInterfaceDescriptorData* data) { | 145 CallInterfaceDescriptorData* data) { |
146 Register registers[] = {a1, a0, a3, a2}; | 146 Register registers[] = {a1, a0, a3, a2}; |
147 data->InitializePlatformSpecific(arraysize(registers), registers); | 147 data->InitializePlatformSpecific(arraysize(registers), registers); |
148 } | 148 } |
149 | 149 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 Register registers[] = { | 419 Register registers[] = { |
420 a1, // loaded new FP | 420 a1, // loaded new FP |
421 }; | 421 }; |
422 data->InitializePlatformSpecific(arraysize(registers), registers); | 422 data->InitializePlatformSpecific(arraysize(registers), registers); |
423 } | 423 } |
424 | 424 |
425 } // namespace internal | 425 } // namespace internal |
426 } // namespace v8 | 426 } // namespace v8 |
427 | 427 |
428 #endif // V8_TARGET_ARCH_MIPS64 | 428 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |