OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "src/arm64/assembler-arm64.h" | 9 #include "src/arm64/assembler-arm64.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 ExternalReference(IC_Utility(kKeyedLoadIC_Miss), isolate); | 508 ExternalReference(IC_Utility(kKeyedLoadIC_Miss), isolate); |
509 | 509 |
510 __ TailCallExternalReference(ref, 2, 1); | 510 __ TailCallExternalReference(ref, 2, 1); |
511 } | 511 } |
512 | 512 |
513 | 513 |
514 // IC register specifications | 514 // IC register specifications |
515 const Register LoadIC::ReceiverRegister() { return x1; } | 515 const Register LoadIC::ReceiverRegister() { return x1; } |
516 const Register LoadIC::NameRegister() { return x2; } | 516 const Register LoadIC::NameRegister() { return x2; } |
517 | 517 |
| 518 const Register LoadIC::SlotRegister() { |
| 519 ASSERT(FLAG_vector_ics); |
| 520 return x0; |
| 521 } |
| 522 |
| 523 |
| 524 const Register LoadIC::VectorRegister() { |
| 525 ASSERT(FLAG_vector_ics); |
| 526 return x3; |
| 527 } |
| 528 |
518 | 529 |
519 const Register StoreIC::ReceiverRegister() { return x1; } | 530 const Register StoreIC::ReceiverRegister() { return x1; } |
520 const Register StoreIC::NameRegister() { return x2; } | 531 const Register StoreIC::NameRegister() { return x2; } |
521 const Register StoreIC::ValueRegister() { return x0; } | 532 const Register StoreIC::ValueRegister() { return x0; } |
522 | 533 |
523 | 534 |
524 const Register KeyedStoreIC::ReceiverRegister() { | 535 const Register KeyedStoreIC::ReceiverRegister() { |
525 return StoreIC::ReceiverRegister(); | 536 return StoreIC::ReceiverRegister(); |
526 } | 537 } |
527 | 538 |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1283 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); | 1294 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); |
1284 // This is JumpIfSmi(smi_reg, branch_imm). | 1295 // This is JumpIfSmi(smi_reg, branch_imm). |
1285 patcher.tbz(smi_reg, 0, branch_imm); | 1296 patcher.tbz(smi_reg, 0, branch_imm); |
1286 } | 1297 } |
1287 } | 1298 } |
1288 | 1299 |
1289 | 1300 |
1290 } } // namespace v8::internal | 1301 } } // namespace v8::internal |
1291 | 1302 |
1292 #endif // V8_TARGET_ARCH_ARM64 | 1303 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |