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

Side by Side Diff: src/arm/macro-assembler-arm.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 | « no previous file | src/arm/macro-assembler-arm.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 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 offset + kHeapObjectTag, 283 offset + kHeapObjectTag,
284 value, 284 value,
285 scratch, 285 scratch,
286 lr_status, 286 lr_status,
287 save_fp, 287 save_fp,
288 remembered_set_action, 288 remembered_set_action,
289 smi_check, 289 smi_check,
290 pointers_to_here_check_for_value); 290 pointers_to_here_check_for_value);
291 } 291 }
292 292
293 // Notify the garbage collector that we wrote a code entry into a
294 // JSFunction. Only scratch is clobbered by the operation.
295 void RecordWriteCodeEntryField(Register js_function, Register code_entry,
296 Register scratch);
297
293 void RecordWriteForMap( 298 void RecordWriteForMap(
294 Register object, 299 Register object,
295 Register map, 300 Register map,
296 Register dst, 301 Register dst,
297 LinkRegisterStatus lr_status, 302 LinkRegisterStatus lr_status,
298 SaveFPRegsMode save_fp); 303 SaveFPRegsMode save_fp);
299 304
300 // For a given |object| notify the garbage collector that the slot |address| 305 // For a given |object| notify the garbage collector that the slot |address|
301 // has been written. |value| is the object being stored. The value and 306 // has been written. |value| is the object being stored. The value and
302 // address registers are clobbered by the operation. 307 // address registers are clobbered by the operation.
(...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1544 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1540 #else 1545 #else
1541 #define ACCESS_MASM(masm) masm-> 1546 #define ACCESS_MASM(masm) masm->
1542 #endif 1547 #endif
1543 1548
1544 1549
1545 } // namespace internal 1550 } // namespace internal
1546 } // namespace v8 1551 } // namespace v8
1547 1552
1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1553 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698