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 | 5 |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS64 | 9 #if V8_TARGET_ARCH_MIPS64 |
10 | 10 |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 | 504 |
505 __ TailCallExternalReference(ref, 2, 1); | 505 __ TailCallExternalReference(ref, 2, 1); |
506 } | 506 } |
507 | 507 |
508 | 508 |
509 // IC register specifications | 509 // IC register specifications |
510 const Register LoadIC::ReceiverRegister() { return a1; } | 510 const Register LoadIC::ReceiverRegister() { return a1; } |
511 const Register LoadIC::NameRegister() { return a2; } | 511 const Register LoadIC::NameRegister() { return a2; } |
512 | 512 |
513 | 513 |
514 const Register StoreIC::ReceiverRegister() { return a1; } | 514 const Register LoadIC::SlotRegister() { |
| 515 ASSERT(FLAG_vector_ics); |
| 516 return a0; |
| 517 } |
| 518 |
| 519 |
| 520 const Register LoadIC::VectorRegister() { |
| 521 ASSERT(FLAG_vector_ics); |
| 522 return a3; |
| 523 } |
| 524 |
| 525 |
| 526 const Register StoreIC::ReceiverRegister() { return a1; } |
515 const Register StoreIC::NameRegister() { return a2; } | 527 const Register StoreIC::NameRegister() { return a2; } |
516 const Register StoreIC::ValueRegister() { return a0; } | 528 const Register StoreIC::ValueRegister() { return a0; } |
517 | 529 |
518 | 530 |
519 const Register KeyedStoreIC::ReceiverRegister() { | 531 const Register KeyedStoreIC::ReceiverRegister() { |
520 return StoreIC::ReceiverRegister(); | 532 return StoreIC::ReceiverRegister(); |
521 } | 533 } |
522 | 534 |
523 | 535 |
524 const Register KeyedStoreIC::NameRegister() { | 536 const Register KeyedStoreIC::NameRegister() { |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1260 } else { | 1272 } else { |
1261 ASSERT(Assembler::IsBne(branch_instr)); | 1273 ASSERT(Assembler::IsBne(branch_instr)); |
1262 patcher.ChangeBranchCondition(eq); | 1274 patcher.ChangeBranchCondition(eq); |
1263 } | 1275 } |
1264 } | 1276 } |
1265 | 1277 |
1266 | 1278 |
1267 } } // namespace v8::internal | 1279 } } // namespace v8::internal |
1268 | 1280 |
1269 #endif // V8_TARGET_ARCH_MIPS64 | 1281 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |