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_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 offset + kHeapObjectTag, | 421 offset + kHeapObjectTag, |
422 value, | 422 value, |
423 scratch, | 423 scratch, |
424 ra_status, | 424 ra_status, |
425 save_fp, | 425 save_fp, |
426 remembered_set_action, | 426 remembered_set_action, |
427 smi_check, | 427 smi_check, |
428 pointers_to_here_check_for_value); | 428 pointers_to_here_check_for_value); |
429 } | 429 } |
430 | 430 |
| 431 // Notify the garbage collector that we wrote a code entry into a |
| 432 // JSFunction. Only scratch is clobbered by the operation. |
| 433 void RecordWriteCodeEntryField(Register js_function, Register code_entry, |
| 434 Register scratch); |
| 435 |
431 void RecordWriteForMap( | 436 void RecordWriteForMap( |
432 Register object, | 437 Register object, |
433 Register map, | 438 Register map, |
434 Register dst, | 439 Register dst, |
435 RAStatus ra_status, | 440 RAStatus ra_status, |
436 SaveFPRegsMode save_fp); | 441 SaveFPRegsMode save_fp); |
437 | 442 |
438 // For a given |object| notify the garbage collector that the slot |address| | 443 // For a given |object| notify the garbage collector that the slot |address| |
439 // has been written. |value| is the object being stored. The value and | 444 // has been written. |value| is the object being stored. The value and |
440 // address registers are clobbered by the operation. | 445 // address registers are clobbered by the operation. |
(...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1754 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1759 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1755 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1760 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1756 #else | 1761 #else |
1757 #define ACCESS_MASM(masm) masm-> | 1762 #define ACCESS_MASM(masm) masm-> |
1758 #endif | 1763 #endif |
1759 | 1764 |
1760 } // namespace internal | 1765 } // namespace internal |
1761 } // namespace v8 | 1766 } // namespace v8 |
1762 | 1767 |
1763 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1768 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |