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

Side by Side Diff: src/x64/macro-assembler-x64.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: 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
OLDNEW
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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 Register object, 249 Register object,
250 int offset, 250 int offset,
251 Register value, 251 Register value,
252 Register scratch, 252 Register scratch,
253 SaveFPRegsMode save_fp, 253 SaveFPRegsMode save_fp,
254 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, 254 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET,
255 SmiCheck smi_check = INLINE_SMI_CHECK, 255 SmiCheck smi_check = INLINE_SMI_CHECK,
256 PointersToHereCheck pointers_to_here_check_for_value = 256 PointersToHereCheck pointers_to_here_check_for_value =
257 kPointersToHereMaybeInteresting); 257 kPointersToHereMaybeInteresting);
258 258
259 void RecordWriteCodeEntryField(Register js_function, Register code_entry,
260 Register scratch);
261
259 // As above, but the offset has the tag presubtracted. For use with 262 // As above, but the offset has the tag presubtracted. For use with
260 // Operand(reg, off). 263 // Operand(reg, off).
261 void RecordWriteContextSlot( 264 void RecordWriteContextSlot(
262 Register context, 265 Register context,
263 int offset, 266 int offset,
264 Register value, 267 Register value,
265 Register scratch, 268 Register scratch,
266 SaveFPRegsMode save_fp, 269 SaveFPRegsMode save_fp,
267 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, 270 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET,
268 SmiCheck smi_check = INLINE_SMI_CHECK, 271 SmiCheck smi_check = INLINE_SMI_CHECK,
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1739 } \ 1742 } \
1740 masm-> 1743 masm->
1741 #else 1744 #else
1742 #define ACCESS_MASM(masm) masm-> 1745 #define ACCESS_MASM(masm) masm->
1743 #endif 1746 #endif
1744 1747
1745 } // namespace internal 1748 } // namespace internal
1746 } // namespace v8 1749 } // namespace v8
1747 1750
1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1751 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698