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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |