| 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/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 offset + kHeapObjectTag, | 449 offset + kHeapObjectTag, |
| 450 value, | 450 value, |
| 451 scratch, | 451 scratch, |
| 452 ra_status, | 452 ra_status, |
| 453 save_fp, | 453 save_fp, |
| 454 remembered_set_action, | 454 remembered_set_action, |
| 455 smi_check, | 455 smi_check, |
| 456 pointers_to_here_check_for_value); | 456 pointers_to_here_check_for_value); |
| 457 } | 457 } |
| 458 | 458 |
| 459 // Notify the garbage collector that we wrote a code entry into a |
| 460 // JSFunction. Only scratch is clobbered by the operation. |
| 461 void RecordWriteCodeEntryField(Register js_function, Register code_entry, |
| 462 Register scratch); |
| 463 |
| 459 void RecordWriteForMap( | 464 void RecordWriteForMap( |
| 460 Register object, | 465 Register object, |
| 461 Register map, | 466 Register map, |
| 462 Register dst, | 467 Register dst, |
| 463 RAStatus ra_status, | 468 RAStatus ra_status, |
| 464 SaveFPRegsMode save_fp); | 469 SaveFPRegsMode save_fp); |
| 465 | 470 |
| 466 // For a given |object| notify the garbage collector that the slot |address| | 471 // For a given |object| notify the garbage collector that the slot |address| |
| 467 // has been written. |value| is the object being stored. The value and | 472 // has been written. |value| is the object being stored. The value and |
| 468 // address registers are clobbered by the operation. | 473 // address registers are clobbered by the operation. |
| (...skipping 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1906 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1911 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1907 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1912 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1908 #else | 1913 #else |
| 1909 #define ACCESS_MASM(masm) masm-> | 1914 #define ACCESS_MASM(masm) masm-> |
| 1910 #endif | 1915 #endif |
| 1911 | 1916 |
| 1912 } // namespace internal | 1917 } // namespace internal |
| 1913 } // namespace v8 | 1918 } // namespace v8 |
| 1914 | 1919 |
| 1915 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1920 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |