OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/arm64/assembler-arm64.h" | 10 #include "src/arm64/assembler-arm64.h" |
(...skipping 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1782 offset + kHeapObjectTag, | 1782 offset + kHeapObjectTag, |
1783 value, | 1783 value, |
1784 scratch, | 1784 scratch, |
1785 lr_status, | 1785 lr_status, |
1786 save_fp, | 1786 save_fp, |
1787 remembered_set_action, | 1787 remembered_set_action, |
1788 smi_check, | 1788 smi_check, |
1789 pointers_to_here_check_for_value); | 1789 pointers_to_here_check_for_value); |
1790 } | 1790 } |
1791 | 1791 |
| 1792 // Notify the garbage collector that we wrote a code entry into a |
| 1793 // JSFunction. Only scratch is clobbered by the operation. |
| 1794 void RecordWriteCodeEntryField(Register js_function, Register code_entry, |
| 1795 Register scratch); |
| 1796 |
1792 void RecordWriteForMap( | 1797 void RecordWriteForMap( |
1793 Register object, | 1798 Register object, |
1794 Register map, | 1799 Register map, |
1795 Register dst, | 1800 Register dst, |
1796 LinkRegisterStatus lr_status, | 1801 LinkRegisterStatus lr_status, |
1797 SaveFPRegsMode save_fp); | 1802 SaveFPRegsMode save_fp); |
1798 | 1803 |
1799 // For a given |object| notify the garbage collector that the slot |address| | 1804 // For a given |object| notify the garbage collector that the slot |address| |
1800 // has been written. |value| is the object being stored. The value and | 1805 // has been written. |value| is the object being stored. The value and |
1801 // address registers are clobbered by the operation. | 1806 // address registers are clobbered by the operation. |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2248 #error "Unsupported option" | 2253 #error "Unsupported option" |
2249 #define CODE_COVERAGE_STRINGIFY(x) #x | 2254 #define CODE_COVERAGE_STRINGIFY(x) #x |
2250 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2255 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2251 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2256 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2252 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2257 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2253 #else | 2258 #else |
2254 #define ACCESS_MASM(masm) masm-> | 2259 #define ACCESS_MASM(masm) masm-> |
2255 #endif | 2260 #endif |
2256 | 2261 |
2257 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2262 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |