| 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 "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
| 8 | 8 |
| 9 #include "bootstrapper.h" | 9 #include "bootstrapper.h" |
| 10 #include "code-stubs.h" | 10 #include "code-stubs.h" |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( | 313 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( |
| 314 CodeStubInterfaceDescriptor* descriptor) { | 314 CodeStubInterfaceDescriptor* descriptor) { |
| 315 static Register registers[] = { a0, a3, a1, a2 }; | 315 static Register registers[] = { a0, a3, a1, a2 }; |
| 316 descriptor->register_param_count_ = 4; | 316 descriptor->register_param_count_ = 4; |
| 317 descriptor->register_params_ = registers; | 317 descriptor->register_params_ = registers; |
| 318 descriptor->deoptimization_handler_ = | 318 descriptor->deoptimization_handler_ = |
| 319 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss); | 319 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss); |
| 320 } | 320 } |
| 321 | 321 |
| 322 | 322 |
| 323 void ArrayShiftStub::InitializeInterfaceDescriptor( | |
| 324 CodeStubInterfaceDescriptor* descriptor) { | |
| 325 static Register registers[] = { a0 }; | |
| 326 descriptor->register_param_count_ = 1; | |
| 327 descriptor->register_params_ = registers; | |
| 328 descriptor->deoptimization_handler_ = | |
| 329 Builtins::c_function_address(Builtins::c_ArrayShift); | |
| 330 } | |
| 331 | |
| 332 | |
| 333 void BinaryOpICStub::InitializeInterfaceDescriptor( | 323 void BinaryOpICStub::InitializeInterfaceDescriptor( |
| 334 CodeStubInterfaceDescriptor* descriptor) { | 324 CodeStubInterfaceDescriptor* descriptor) { |
| 335 static Register registers[] = { a1, a0 }; | 325 static Register registers[] = { a1, a0 }; |
| 336 descriptor->register_param_count_ = 2; | 326 descriptor->register_param_count_ = 2; |
| 337 descriptor->register_params_ = registers; | 327 descriptor->register_params_ = registers; |
| 338 descriptor->deoptimization_handler_ = FUNCTION_ADDR(BinaryOpIC_Miss); | 328 descriptor->deoptimization_handler_ = FUNCTION_ADDR(BinaryOpIC_Miss); |
| 339 descriptor->SetMissHandler( | 329 descriptor->SetMissHandler( |
| 340 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); | 330 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); |
| 341 } | 331 } |
| 342 | 332 |
| (...skipping 5141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5484 MemOperand(fp, 6 * kPointerSize), | 5474 MemOperand(fp, 6 * kPointerSize), |
| 5485 NULL); | 5475 NULL); |
| 5486 } | 5476 } |
| 5487 | 5477 |
| 5488 | 5478 |
| 5489 #undef __ | 5479 #undef __ |
| 5490 | 5480 |
| 5491 } } // namespace v8::internal | 5481 } } // namespace v8::internal |
| 5492 | 5482 |
| 5493 #endif // V8_TARGET_ARCH_MIPS | 5483 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |