| 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_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "src/arm/assembler-arm.h" | 9 #include "src/arm/assembler-arm.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 | 490 |
| 491 __ TailCallExternalReference(ref, 2, 1); | 491 __ TailCallExternalReference(ref, 2, 1); |
| 492 } | 492 } |
| 493 | 493 |
| 494 | 494 |
| 495 // IC register specifications | 495 // IC register specifications |
| 496 const Register LoadIC::ReceiverRegister() { return r1; } | 496 const Register LoadIC::ReceiverRegister() { return r1; } |
| 497 const Register LoadIC::NameRegister() { return r2; } | 497 const Register LoadIC::NameRegister() { return r2; } |
| 498 | 498 |
| 499 | 499 |
| 500 const Register LoadIC::SlotRegister() { |
| 501 ASSERT(FLAG_vector_ics); |
| 502 return r0; |
| 503 } |
| 504 |
| 505 |
| 506 const Register LoadIC::VectorRegister() { |
| 507 ASSERT(FLAG_vector_ics); |
| 508 return r3; |
| 509 } |
| 510 |
| 511 |
| 500 const Register StoreIC::ReceiverRegister() { return r1; } | 512 const Register StoreIC::ReceiverRegister() { return r1; } |
| 501 const Register StoreIC::NameRegister() { return r2; } | 513 const Register StoreIC::NameRegister() { return r2; } |
| 502 const Register StoreIC::ValueRegister() { return r0; } | 514 const Register StoreIC::ValueRegister() { return r0; } |
| 503 | 515 |
| 504 | 516 |
| 505 const Register KeyedStoreIC::ReceiverRegister() { | 517 const Register KeyedStoreIC::ReceiverRegister() { |
| 506 return StoreIC::ReceiverRegister(); | 518 return StoreIC::ReceiverRegister(); |
| 507 } | 519 } |
| 508 | 520 |
| 509 | 521 |
| (...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 } else { | 1249 } else { |
| 1238 ASSERT(Assembler::GetCondition(branch_instr) == ne); | 1250 ASSERT(Assembler::GetCondition(branch_instr) == ne); |
| 1239 patcher.EmitCondition(eq); | 1251 patcher.EmitCondition(eq); |
| 1240 } | 1252 } |
| 1241 } | 1253 } |
| 1242 | 1254 |
| 1243 | 1255 |
| 1244 } } // namespace v8::internal | 1256 } } // namespace v8::internal |
| 1245 | 1257 |
| 1246 #endif // V8_TARGET_ARCH_ARM | 1258 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |