| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 | 47 |
| 48 | 48 |
| 49 const Register InstanceOfDescriptor::LeftRegister() { return a1; } | 49 const Register InstanceOfDescriptor::LeftRegister() { return a1; } |
| 50 const Register InstanceOfDescriptor::RightRegister() { return a0; } | 50 const Register InstanceOfDescriptor::RightRegister() { return a0; } |
| 51 | 51 |
| 52 | 52 |
| 53 const Register StringCompareDescriptor::LeftRegister() { return a1; } | 53 const Register StringCompareDescriptor::LeftRegister() { return a1; } |
| 54 const Register StringCompareDescriptor::RightRegister() { return a0; } | 54 const Register StringCompareDescriptor::RightRegister() { return a0; } |
| 55 | 55 |
| 56 | 56 |
| 57 const Register ArgumentsAccessNewDescriptor::function() { return a1; } | |
| 58 const Register ArgumentsAccessNewDescriptor::parameter_count() { return a2; } | |
| 59 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return a3; } | |
| 60 | |
| 61 | |
| 62 const Register ApiGetterDescriptor::function_address() { return a2; } | 57 const Register ApiGetterDescriptor::function_address() { return a2; } |
| 63 | 58 |
| 64 | 59 |
| 65 const Register MathPowTaggedDescriptor::exponent() { return a2; } | 60 const Register MathPowTaggedDescriptor::exponent() { return a2; } |
| 66 | 61 |
| 67 | 62 |
| 68 const Register MathPowIntegerDescriptor::exponent() { | 63 const Register MathPowIntegerDescriptor::exponent() { |
| 69 return MathPowTaggedDescriptor::exponent(); | 64 return MathPowTaggedDescriptor::exponent(); |
| 70 } | 65 } |
| 71 | 66 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 88 } | 83 } |
| 89 | 84 |
| 90 | 85 |
| 91 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 86 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 92 CallInterfaceDescriptorData* data) { | 87 CallInterfaceDescriptorData* data) { |
| 93 Register registers[] = {a1}; | 88 Register registers[] = {a1}; |
| 94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 89 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 95 } | 90 } |
| 96 | 91 |
| 97 | 92 |
| 93 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
| 94 CallInterfaceDescriptorData* data) { |
| 95 Register registers[] = {a1}; |
| 96 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 97 } |
| 98 |
| 99 |
| 98 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | 100 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 99 CallInterfaceDescriptorData* data) { | 101 CallInterfaceDescriptorData* data) { |
| 100 Register registers[] = {a1}; | 102 Register registers[] = {a1}; |
| 101 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 103 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 102 } | 104 } |
| 103 | 105 |
| 104 | 106 |
| 105 void ToNumberDescriptor::InitializePlatformSpecific( | 107 void ToNumberDescriptor::InitializePlatformSpecific( |
| 106 CallInterfaceDescriptorData* data) { | 108 CallInterfaceDescriptorData* data) { |
| 107 Register registers[] = {a0}; | 109 Register registers[] = {a0}; |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 a2, // address of first argument (argv) | 448 a2, // address of first argument (argv) |
| 447 a1 // the runtime function to call | 449 a1 // the runtime function to call |
| 448 }; | 450 }; |
| 449 data->InitializePlatformSpecific(arraysize(registers), registers); | 451 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 450 } | 452 } |
| 451 | 453 |
| 452 } // namespace internal | 454 } // namespace internal |
| 453 } // namespace v8 | 455 } // namespace v8 |
| 454 | 456 |
| 455 #endif // V8_TARGET_ARCH_MIPS64 | 457 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |