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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 : -1; | 717 : -1; |
718 DCHECK((type == -1) || | 718 DCHECK((type == -1) || |
719 ((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER))); | 719 ((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER))); |
720 return type; | 720 return type; |
721 } | 721 } |
722 | 722 |
723 | 723 |
724 // --------------------------------------------------------------------------- | 724 // --------------------------------------------------------------------------- |
725 // Allocation support | 725 // Allocation support |
726 | 726 |
727 // Allocate an object in new space or old pointer space. The object_size is | 727 // Allocate an object in new space or old space. The object_size is |
728 // specified either in bytes or in words if the allocation flag SIZE_IN_WORDS | 728 // specified either in bytes or in words if the allocation flag SIZE_IN_WORDS |
729 // is passed. If the space is exhausted control continues at the gc_required | 729 // is passed. If the space is exhausted control continues at the gc_required |
730 // label. The allocated object is returned in result. If the flag | 730 // label. The allocated object is returned in result. If the flag |
731 // tag_allocated_object is true the result is tagged as as a heap object. | 731 // tag_allocated_object is true the result is tagged as as a heap object. |
732 // All registers are clobbered also when control continues at the gc_required | 732 // All registers are clobbered also when control continues at the gc_required |
733 // label. | 733 // label. |
734 void Allocate(int object_size, | 734 void Allocate(int object_size, |
735 Register result, | 735 Register result, |
736 Register scratch1, | 736 Register scratch1, |
737 Register scratch2, | 737 Register scratch2, |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1553 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1553 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1554 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1554 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1555 #else | 1555 #else |
1556 #define ACCESS_MASM(masm) masm-> | 1556 #define ACCESS_MASM(masm) masm-> |
1557 #endif | 1557 #endif |
1558 | 1558 |
1559 | 1559 |
1560 } } // namespace v8::internal | 1560 } } // namespace v8::internal |
1561 | 1561 |
1562 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1562 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |