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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 Label* gc_required, | 738 Label* gc_required, |
739 AllocationFlags flags); | 739 AllocationFlags flags); |
740 | 740 |
741 void Allocate(Register object_size, | 741 void Allocate(Register object_size, |
742 Register result, | 742 Register result, |
743 Register scratch1, | 743 Register scratch1, |
744 Register scratch2, | 744 Register scratch2, |
745 Label* gc_required, | 745 Label* gc_required, |
746 AllocationFlags flags); | 746 AllocationFlags flags); |
747 | 747 |
748 // Undo allocation in new space. The object passed and objects allocated after | |
749 // it will no longer be allocated. The caller must make sure that no pointers | |
750 // are left to the object(s) no longer allocated as they would be invalid when | |
751 // allocation is undone. | |
752 void UndoAllocationInNewSpace(Register object, Register scratch); | |
753 | |
754 | |
755 void AllocateTwoByteString(Register result, | 748 void AllocateTwoByteString(Register result, |
756 Register length, | 749 Register length, |
757 Register scratch1, | 750 Register scratch1, |
758 Register scratch2, | 751 Register scratch2, |
759 Register scratch3, | 752 Register scratch3, |
760 Label* gc_required); | 753 Label* gc_required); |
761 void AllocateOneByteString(Register result, Register length, | 754 void AllocateOneByteString(Register result, Register length, |
762 Register scratch1, Register scratch2, | 755 Register scratch1, Register scratch2, |
763 Register scratch3, Label* gc_required); | 756 Register scratch3, Label* gc_required); |
764 void AllocateTwoByteConsString(Register result, | 757 void AllocateTwoByteConsString(Register result, |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1555 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1548 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1556 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1549 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1557 #else | 1550 #else |
1558 #define ACCESS_MASM(masm) masm-> | 1551 #define ACCESS_MASM(masm) masm-> |
1559 #endif | 1552 #endif |
1560 | 1553 |
1561 | 1554 |
1562 } } // namespace v8::internal | 1555 } } // namespace v8::internal |
1563 | 1556 |
1564 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1557 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |