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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 } | 92 } |
93 | 93 |
94 | 94 |
95 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 95 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
96 CallInterfaceDescriptorData* data) { | 96 CallInterfaceDescriptorData* data) { |
97 Register registers[] = {a1}; | 97 Register registers[] = {a1}; |
98 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 98 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
99 } | 99 } |
100 | 100 |
101 | 101 |
| 102 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 103 CallInterfaceDescriptorData* data) { |
| 104 Register registers[] = {a1}; |
| 105 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 106 } |
| 107 |
| 108 |
102 void ToNumberDescriptor::InitializePlatformSpecific( | 109 void ToNumberDescriptor::InitializePlatformSpecific( |
103 CallInterfaceDescriptorData* data) { | 110 CallInterfaceDescriptorData* data) { |
104 Register registers[] = {a0}; | 111 Register registers[] = {a0}; |
105 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 112 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
106 } | 113 } |
107 | 114 |
108 | 115 |
109 // static | 116 // static |
110 const Register ToLengthDescriptor::ReceiverRegister() { return a0; } | 117 const Register ToLengthDescriptor::ReceiverRegister() { return a0; } |
111 | 118 |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 a2, // address of first argument (argv) | 450 a2, // address of first argument (argv) |
444 a1 // the runtime function to call | 451 a1 // the runtime function to call |
445 }; | 452 }; |
446 data->InitializePlatformSpecific(arraysize(registers), registers); | 453 data->InitializePlatformSpecific(arraysize(registers), registers); |
447 } | 454 } |
448 | 455 |
449 } // namespace internal | 456 } // namespace internal |
450 } // namespace v8 | 457 } // namespace v8 |
451 | 458 |
452 #endif // V8_TARGET_ARCH_MIPS | 459 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |