| 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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 : -1; | 702 : -1; |
| 703 DCHECK((type == -1) || | 703 DCHECK((type == -1) || |
| 704 ((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER))); | 704 ((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER))); |
| 705 return type; | 705 return type; |
| 706 } | 706 } |
| 707 | 707 |
| 708 | 708 |
| 709 // --------------------------------------------------------------------------- | 709 // --------------------------------------------------------------------------- |
| 710 // Allocation support | 710 // Allocation support |
| 711 | 711 |
| 712 // Allocate an object in new space or old pointer space. The object_size is | 712 // Allocate an object in new space or old space. The object_size is |
| 713 // specified either in bytes or in words if the allocation flag SIZE_IN_WORDS | 713 // specified either in bytes or in words if the allocation flag SIZE_IN_WORDS |
| 714 // is passed. If the space is exhausted control continues at the gc_required | 714 // is passed. If the space is exhausted control continues at the gc_required |
| 715 // label. The allocated object is returned in result. If the flag | 715 // label. The allocated object is returned in result. If the flag |
| 716 // tag_allocated_object is true the result is tagged as as a heap object. | 716 // tag_allocated_object is true the result is tagged as as a heap object. |
| 717 // All registers are clobbered also when control continues at the gc_required | 717 // All registers are clobbered also when control continues at the gc_required |
| 718 // label. | 718 // label. |
| 719 void Allocate(int object_size, | 719 void Allocate(int object_size, |
| 720 Register result, | 720 Register result, |
| 721 Register scratch1, | 721 Register scratch1, |
| 722 Register scratch2, | 722 Register scratch2, |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1538 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1538 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1540 #else | 1540 #else |
| 1541 #define ACCESS_MASM(masm) masm-> | 1541 #define ACCESS_MASM(masm) masm-> |
| 1542 #endif | 1542 #endif |
| 1543 | 1543 |
| 1544 | 1544 |
| 1545 } } // namespace v8::internal | 1545 } } // namespace v8::internal |
| 1546 | 1546 |
| 1547 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1547 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |