| 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 ASSERT(FLAG_vector_ics); | 507 ASSERT(FLAG_vector_ics); |
| 508 return r3; | 508 return r3; |
| 509 } | 509 } |
| 510 | 510 |
| 511 | 511 |
| 512 const Register StoreIC::ReceiverRegister() { return r1; } | 512 const Register StoreIC::ReceiverRegister() { return r1; } |
| 513 const Register StoreIC::NameRegister() { return r2; } | 513 const Register StoreIC::NameRegister() { return r2; } |
| 514 const Register StoreIC::ValueRegister() { return r0; } | 514 const Register StoreIC::ValueRegister() { return r0; } |
| 515 | 515 |
| 516 | 516 |
| 517 const Register KeyedStoreIC::ReceiverRegister() { | |
| 518 return StoreIC::ReceiverRegister(); | |
| 519 } | |
| 520 | |
| 521 | |
| 522 const Register KeyedStoreIC::NameRegister() { | |
| 523 return StoreIC::NameRegister(); | |
| 524 } | |
| 525 | |
| 526 | |
| 527 const Register KeyedStoreIC::ValueRegister() { | |
| 528 return StoreIC::ValueRegister(); | |
| 529 } | |
| 530 | |
| 531 | |
| 532 const Register KeyedStoreIC::MapRegister() { | 517 const Register KeyedStoreIC::MapRegister() { |
| 533 return r3; | 518 return r3; |
| 534 } | 519 } |
| 535 | 520 |
| 536 | 521 |
| 537 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { | 522 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
| 538 // The return address is in lr. | 523 // The return address is in lr. |
| 539 | 524 |
| 540 __ Push(ReceiverRegister(), NameRegister()); | 525 __ Push(ReceiverRegister(), NameRegister()); |
| 541 | 526 |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 } else { | 1233 } else { |
| 1249 ASSERT(Assembler::GetCondition(branch_instr) == ne); | 1234 ASSERT(Assembler::GetCondition(branch_instr) == ne); |
| 1250 patcher.EmitCondition(eq); | 1235 patcher.EmitCondition(eq); |
| 1251 } | 1236 } |
| 1252 } | 1237 } |
| 1253 | 1238 |
| 1254 | 1239 |
| 1255 } } // namespace v8::internal | 1240 } } // namespace v8::internal |
| 1256 | 1241 |
| 1257 #endif // V8_TARGET_ARCH_ARM | 1242 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |