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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 offset + kHeapObjectTag, | 426 offset + kHeapObjectTag, |
427 value, | 427 value, |
428 scratch, | 428 scratch, |
429 ra_status, | 429 ra_status, |
430 save_fp, | 430 save_fp, |
431 remembered_set_action, | 431 remembered_set_action, |
432 smi_check, | 432 smi_check, |
433 pointers_to_here_check_for_value); | 433 pointers_to_here_check_for_value); |
434 } | 434 } |
435 | 435 |
| 436 // Notify the garbage collector that we wrote a code entry into a |
| 437 // JSFunction. Only scratch is clobbered by the operation. |
| 438 void RecordWriteCodeEntryField(Register js_function, Register code_entry, |
| 439 Register scratch); |
| 440 |
436 void RecordWriteForMap( | 441 void RecordWriteForMap( |
437 Register object, | 442 Register object, |
438 Register map, | 443 Register map, |
439 Register dst, | 444 Register dst, |
440 RAStatus ra_status, | 445 RAStatus ra_status, |
441 SaveFPRegsMode save_fp); | 446 SaveFPRegsMode save_fp); |
442 | 447 |
443 // For a given |object| notify the garbage collector that the slot |address| | 448 // For a given |object| notify the garbage collector that the slot |address| |
444 // has been written. |value| is the object being stored. The value and | 449 // has been written. |value| is the object being stored. The value and |
445 // address registers are clobbered by the operation. | 450 // address registers are clobbered by the operation. |
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1781 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1786 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1782 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1787 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1783 #else | 1788 #else |
1784 #define ACCESS_MASM(masm) masm-> | 1789 #define ACCESS_MASM(masm) masm-> |
1785 #endif | 1790 #endif |
1786 | 1791 |
1787 } // namespace internal | 1792 } // namespace internal |
1788 } // namespace v8 | 1793 } // namespace v8 |
1789 | 1794 |
1790 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1795 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |