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/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 InitializeInternalArrayConstructorDescriptor(descriptor, 1); | 214 InitializeInternalArrayConstructorDescriptor(descriptor, 1); |
215 } | 215 } |
216 | 216 |
217 | 217 |
218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( | 218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( |
219 CodeStubInterfaceDescriptor* descriptor) { | 219 CodeStubInterfaceDescriptor* descriptor) { |
220 InitializeInternalArrayConstructorDescriptor(descriptor, -1); | 220 InitializeInternalArrayConstructorDescriptor(descriptor, -1); |
221 } | 221 } |
222 | 222 |
223 | 223 |
224 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( | |
225 CodeStubInterfaceDescriptor* descriptor) { | |
226 Register registers[] = { a0, a3, a1, a2 }; | |
227 descriptor->Initialize(ARRAY_SIZE(registers), registers, | |
228 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); | |
229 } | |
230 | |
231 | |
232 void BinaryOpICStub::InitializeInterfaceDescriptor( | 224 void BinaryOpICStub::InitializeInterfaceDescriptor( |
233 CodeStubInterfaceDescriptor* descriptor) { | 225 CodeStubInterfaceDescriptor* descriptor) { |
234 Register registers[] = { a1, a0 }; | 226 Register registers[] = { a1, a0 }; |
235 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 227 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
236 FUNCTION_ADDR(BinaryOpIC_Miss)); | 228 FUNCTION_ADDR(BinaryOpIC_Miss)); |
237 descriptor->SetMissHandler( | 229 descriptor->SetMissHandler( |
238 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); | 230 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); |
239 } | 231 } |
240 | 232 |
241 | 233 |
(...skipping 5082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5324 MemOperand(fp, 6 * kPointerSize), | 5316 MemOperand(fp, 6 * kPointerSize), |
5325 NULL); | 5317 NULL); |
5326 } | 5318 } |
5327 | 5319 |
5328 | 5320 |
5329 #undef __ | 5321 #undef __ |
5330 | 5322 |
5331 } } // namespace v8::internal | 5323 } } // namespace v8::internal |
5332 | 5324 |
5333 #endif // V8_TARGET_ARCH_MIPS64 | 5325 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |