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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 } | 118 } |
119 | 119 |
120 | 120 |
121 void TypeofDescriptor::InitializePlatformSpecific( | 121 void TypeofDescriptor::InitializePlatformSpecific( |
122 CallInterfaceDescriptorData* data) { | 122 CallInterfaceDescriptorData* data) { |
123 Register registers[] = {a3}; | 123 Register registers[] = {a3}; |
124 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 124 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
125 } | 125 } |
126 | 126 |
127 | 127 |
| 128 void FastCloneRegExpDescriptor::InitializePlatformSpecific( |
| 129 CallInterfaceDescriptorData* data) { |
| 130 Register registers[] = {a3, a2, a1, a0}; |
| 131 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 132 } |
| 133 |
| 134 |
128 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( | 135 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( |
129 CallInterfaceDescriptorData* data) { | 136 CallInterfaceDescriptorData* data) { |
130 Register registers[] = {a3, a2, a1}; | 137 Register registers[] = {a3, a2, a1}; |
131 data->InitializePlatformSpecific(arraysize(registers), registers); | 138 data->InitializePlatformSpecific(arraysize(registers), registers); |
132 } | 139 } |
133 | 140 |
134 | 141 |
135 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( | 142 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( |
136 CallInterfaceDescriptorData* data) { | 143 CallInterfaceDescriptorData* data) { |
137 Register registers[] = {a3, a2, a1, a0}; | 144 Register registers[] = {a3, a2, a1, a0}; |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 a2, // address of first argument (argv) | 443 a2, // address of first argument (argv) |
437 a1 // the runtime function to call | 444 a1 // the runtime function to call |
438 }; | 445 }; |
439 data->InitializePlatformSpecific(arraysize(registers), registers); | 446 data->InitializePlatformSpecific(arraysize(registers), registers); |
440 } | 447 } |
441 | 448 |
442 } // namespace internal | 449 } // namespace internal |
443 } // namespace v8 | 450 } // namespace v8 |
444 | 451 |
445 #endif // V8_TARGET_ARCH_MIPS | 452 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |