| 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_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void CallFunctionWithFeedbackDescriptor::Initialize( | 112 void CallFunctionWithFeedbackDescriptor::Initialize( |
| 113 CallInterfaceDescriptorData* data) { | 113 CallInterfaceDescriptorData* data) { |
| 114 Register registers[] = {cp, a1, a3}; | 114 Register registers[] = {cp, a1, a3}; |
| 115 Representation representations[] = {Representation::Tagged(), | 115 Representation representations[] = {Representation::Tagged(), |
| 116 Representation::Tagged(), | 116 Representation::Tagged(), |
| 117 Representation::Smi()}; | 117 Representation::Smi()}; |
| 118 data->Initialize(arraysize(registers), registers, representations); | 118 data->Initialize(arraysize(registers), registers, representations); |
| 119 } | 119 } |
| 120 | 120 |
| 121 | 121 |
| 122 void CallFunctionWithFeedbackAndVectorDescriptor::Initialize( |
| 123 CallInterfaceDescriptorData* data) { |
| 124 Register registers[] = {cp, a1, a3, a2}; |
| 125 Representation representations[] = { |
| 126 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), |
| 127 Representation::Tagged()}; |
| 128 data->Initialize(arraysize(registers), registers, representations); |
| 129 } |
| 130 |
| 131 |
| 122 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 132 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 123 Register registers[] = {cp, a1}; | 133 Register registers[] = {cp, a1}; |
| 124 data->Initialize(arraysize(registers), registers, NULL); | 134 data->Initialize(arraysize(registers), registers, NULL); |
| 125 } | 135 } |
| 126 | 136 |
| 127 | 137 |
| 128 void CallConstructDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 138 void CallConstructDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 129 // a0 : number of arguments | 139 // a0 : number of arguments |
| 130 // a1 : the function to call | 140 // a1 : the function to call |
| 131 // a2 : feedback vector | 141 // a2 : feedback vector |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 Representation::Tagged(), // call_data | 337 Representation::Tagged(), // call_data |
| 328 Representation::Tagged(), // holder | 338 Representation::Tagged(), // holder |
| 329 Representation::External(), // api_function_address | 339 Representation::External(), // api_function_address |
| 330 }; | 340 }; |
| 331 data->Initialize(arraysize(registers), registers, representations); | 341 data->Initialize(arraysize(registers), registers, representations); |
| 332 } | 342 } |
| 333 } | 343 } |
| 334 } // namespace v8::internal | 344 } // namespace v8::internal |
| 335 | 345 |
| 336 #endif // V8_TARGET_ARCH_MIPS64 | 346 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |