Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Side by Side Diff: src/arm64/macro-assembler-arm64.h

Issue 1647123002: Write barrier for storing a code entry, and usage in CompileLazy builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE and comment response. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698