| 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_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
| 10 | 10 |
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 ASSERT(FLAG_vector_ics); | 522 ASSERT(FLAG_vector_ics); |
| 523 return a3; | 523 return a3; |
| 524 } | 524 } |
| 525 | 525 |
| 526 | 526 |
| 527 const Register StoreIC::ReceiverRegister() { return a1; } | 527 const Register StoreIC::ReceiverRegister() { return a1; } |
| 528 const Register StoreIC::NameRegister() { return a2; } | 528 const Register StoreIC::NameRegister() { return a2; } |
| 529 const Register StoreIC::ValueRegister() { return a0; } | 529 const Register StoreIC::ValueRegister() { return a0; } |
| 530 | 530 |
| 531 | 531 |
| 532 const Register KeyedStoreIC::ReceiverRegister() { | |
| 533 return StoreIC::ReceiverRegister(); | |
| 534 } | |
| 535 | |
| 536 | |
| 537 const Register KeyedStoreIC::NameRegister() { | |
| 538 return StoreIC::NameRegister(); | |
| 539 } | |
| 540 | |
| 541 | |
| 542 const Register KeyedStoreIC::ValueRegister() { | |
| 543 return StoreIC::ValueRegister(); | |
| 544 } | |
| 545 | |
| 546 | |
| 547 const Register KeyedStoreIC::MapRegister() { | 532 const Register KeyedStoreIC::MapRegister() { |
| 548 return a3; | 533 return a3; |
| 549 } | 534 } |
| 550 | 535 |
| 551 | 536 |
| 552 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { | 537 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
| 553 // The return address is in ra. | 538 // The return address is in ra. |
| 554 | 539 |
| 555 __ Push(ReceiverRegister(), NameRegister()); | 540 __ Push(ReceiverRegister(), NameRegister()); |
| 556 | 541 |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1265 } else { | 1250 } else { |
| 1266 ASSERT(Assembler::IsBne(branch_instr)); | 1251 ASSERT(Assembler::IsBne(branch_instr)); |
| 1267 patcher.ChangeBranchCondition(eq); | 1252 patcher.ChangeBranchCondition(eq); |
| 1268 } | 1253 } |
| 1269 } | 1254 } |
| 1270 | 1255 |
| 1271 | 1256 |
| 1272 } } // namespace v8::internal | 1257 } } // namespace v8::internal |
| 1273 | 1258 |
| 1274 #endif // V8_TARGET_ARCH_MIPS | 1259 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |