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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 // ----------------------------------- | 495 // ----------------------------------- |
496 | 496 |
497 __ ldr(r3, MemOperand(sp, 0)); | 497 __ ldr(r3, MemOperand(sp, 0)); |
498 __ stm(db_w, sp, r2.bit() | r3.bit()); | 498 __ stm(db_w, sp, r2.bit() | r3.bit()); |
499 | 499 |
500 // Perform tail call to the entry. | 500 // Perform tail call to the entry. |
501 __ TailCallRuntime(f, 2); | 501 __ TailCallRuntime(f, 2); |
502 } | 502 } |
503 | 503 |
504 | 504 |
| 505 // TODO(number here): Implement map patching once loop nesting is |
| 506 // tracked on the ARM platform so we can generate inlined fast-case |
| 507 // code for array indexing in loops. |
| 508 void KeyedLoadIC::PatchInlinedMapCheck(Address address, Object* value) { } |
| 509 |
| 510 |
505 Object* KeyedLoadIC_Miss(Arguments args); | 511 Object* KeyedLoadIC_Miss(Arguments args); |
506 | 512 |
507 | 513 |
508 void KeyedLoadIC::GenerateMiss(MacroAssembler* masm) { | 514 void KeyedLoadIC::GenerateMiss(MacroAssembler* masm) { |
509 Generate(masm, ExternalReference(IC_Utility(kKeyedLoadIC_Miss))); | 515 Generate(masm, ExternalReference(IC_Utility(kKeyedLoadIC_Miss))); |
510 } | 516 } |
511 | 517 |
512 | 518 |
513 void KeyedLoadIC::Generate(MacroAssembler* masm, const ExternalReference& f) { | 519 void KeyedLoadIC::Generate(MacroAssembler* masm, const ExternalReference& f) { |
514 // ---------- S t a t e -------------- | 520 // ---------- S t a t e -------------- |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 | 790 |
785 // Perform tail call to the entry. | 791 // Perform tail call to the entry. |
786 __ TailCallRuntime(f, 3); | 792 __ TailCallRuntime(f, 3); |
787 } | 793 } |
788 | 794 |
789 | 795 |
790 #undef __ | 796 #undef __ |
791 | 797 |
792 | 798 |
793 } } // namespace v8::internal | 799 } } // namespace v8::internal |
OLD | NEW |