OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 } | 628 } |
629 | 629 |
630 | 630 |
631 void KeyedLoadIC::GenerateExternalArray(MacroAssembler* masm, | 631 void KeyedLoadIC::GenerateExternalArray(MacroAssembler* masm, |
632 ExternalArrayType array_type) { | 632 ExternalArrayType array_type) { |
633 // TODO(476): port specialized code. | 633 // TODO(476): port specialized code. |
634 GenerateGeneric(masm); | 634 GenerateGeneric(masm); |
635 } | 635 } |
636 | 636 |
637 | 637 |
| 638 void KeyedLoadIC::GenerateIndexedInterceptor(MacroAssembler* masm) { |
| 639 GenerateGeneric(masm); |
| 640 } |
| 641 |
| 642 |
638 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) { | 643 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) { |
639 // ---------- S t a t e -------------- | 644 // ---------- S t a t e -------------- |
640 // -- r0 : value | 645 // -- r0 : value |
641 // -- lr : return address | 646 // -- lr : return address |
642 // -- sp[0] : key | 647 // -- sp[0] : key |
643 // -- sp[1] : receiver | 648 // -- sp[1] : receiver |
644 // ----------------------------------- | 649 // ----------------------------------- |
645 | 650 |
646 __ ldm(ia, sp, r2.bit() | r3.bit()); | 651 __ ldm(ia, sp, r2.bit() | r3.bit()); |
647 __ stm(db_w, sp, r0.bit() | r2.bit() | r3.bit()); | 652 __ stm(db_w, sp, r0.bit() | r2.bit() | r3.bit()); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 | 826 |
822 // Perform tail call to the entry. | 827 // Perform tail call to the entry. |
823 __ TailCallRuntime(ExternalReference(IC_Utility(kStoreIC_Miss)), 3, 1); | 828 __ TailCallRuntime(ExternalReference(IC_Utility(kStoreIC_Miss)), 3, 1); |
824 } | 829 } |
825 | 830 |
826 | 831 |
827 #undef __ | 832 #undef __ |
828 | 833 |
829 | 834 |
830 } } // namespace v8::internal | 835 } } // namespace v8::internal |
OLD | NEW |