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 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 void Allocate(int object_size, | 776 void Allocate(int object_size, |
777 Register result, | 777 Register result, |
778 Register scratch1, | 778 Register scratch1, |
779 Register scratch2, | 779 Register scratch2, |
780 Label* gc_required, | 780 Label* gc_required, |
781 AllocationFlags flags); | 781 AllocationFlags flags); |
782 | 782 |
783 void Allocate(Register object_size, Register result, Register result_end, | 783 void Allocate(Register object_size, Register result, Register result_end, |
784 Register scratch, Label* gc_required, AllocationFlags flags); | 784 Register scratch, Label* gc_required, AllocationFlags flags); |
785 | 785 |
| 786 // FastAllocate is right now only used for folded allocations. It just |
| 787 // increments the top pointer without checking against limit. This can only |
| 788 // be done if it was proved earlier that the allocation will succeed. |
| 789 void FastAllocate(int object_size, Register result, Register scratch1, |
| 790 Register scratch2, AllocationFlags flags); |
| 791 |
| 792 void FastAllocate(Register object_size, Register result, Register result_end, |
| 793 Register scratch, AllocationFlags flags); |
| 794 |
786 void AllocateTwoByteString(Register result, | 795 void AllocateTwoByteString(Register result, |
787 Register length, | 796 Register length, |
788 Register scratch1, | 797 Register scratch1, |
789 Register scratch2, | 798 Register scratch2, |
790 Register scratch3, | 799 Register scratch3, |
791 Label* gc_required); | 800 Label* gc_required); |
792 void AllocateOneByteString(Register result, Register length, | 801 void AllocateOneByteString(Register result, Register length, |
793 Register scratch1, Register scratch2, | 802 Register scratch1, Register scratch2, |
794 Register scratch3, Label* gc_required); | 803 Register scratch3, Label* gc_required); |
795 void AllocateTwoByteConsString(Register result, | 804 void AllocateTwoByteConsString(Register result, |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1570 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1579 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1571 #else | 1580 #else |
1572 #define ACCESS_MASM(masm) masm-> | 1581 #define ACCESS_MASM(masm) masm-> |
1573 #endif | 1582 #endif |
1574 | 1583 |
1575 | 1584 |
1576 } // namespace internal | 1585 } // namespace internal |
1577 } // namespace v8 | 1586 } // namespace v8 |
1578 | 1587 |
1579 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1588 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |