| 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 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1064 // ------------------------------------------------------------------------- | 1064 // ------------------------------------------------------------------------- |
| 1065 // Exception handling. | 1065 // Exception handling. |
| 1066 | 1066 |
| 1067 // Push a new stack handler and link into stack handler chain. | 1067 // Push a new stack handler and link into stack handler chain. |
| 1068 void PushStackHandler(); | 1068 void PushStackHandler(); |
| 1069 | 1069 |
| 1070 // Unlink the stack handler on top of the stack from the stack handler chain. | 1070 // Unlink the stack handler on top of the stack from the stack handler chain. |
| 1071 // Must preserve the result register. | 1071 // Must preserve the result register. |
| 1072 void PopStackHandler(); | 1072 void PopStackHandler(); |
| 1073 | 1073 |
| 1074 // Copies a fixed number of fields of heap objects from src to dst. | |
| 1075 void CopyFields(Register dst, Register src, RegList temps, int field_count); | |
| 1076 | |
| 1077 // Copies a number of bytes from src to dst. All registers are clobbered. On | 1074 // Copies a number of bytes from src to dst. All registers are clobbered. On |
| 1078 // exit src and dst will point to the place just after where the last byte was | 1075 // exit src and dst will point to the place just after where the last byte was |
| 1079 // read or written and length will be zero. | 1076 // read or written and length will be zero. |
| 1080 void CopyBytes(Register src, | 1077 void CopyBytes(Register src, |
| 1081 Register dst, | 1078 Register dst, |
| 1082 Register length, | 1079 Register length, |
| 1083 Register scratch); | 1080 Register scratch); |
| 1084 | 1081 |
| 1085 // Initialize fields with filler values. Fields starting at |current_address| | 1082 // Initialize fields with filler values. Fields starting at |current_address| |
| 1086 // not including |end_address| are overwritten with the value in |filler|. At | 1083 // not including |end_address| are overwritten with the value in |filler|. At |
| (...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1849 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1846 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1850 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1847 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1851 #else | 1848 #else |
| 1852 #define ACCESS_MASM(masm) masm-> | 1849 #define ACCESS_MASM(masm) masm-> |
| 1853 #endif | 1850 #endif |
| 1854 | 1851 |
| 1855 } // namespace internal | 1852 } // namespace internal |
| 1856 } // namespace v8 | 1853 } // namespace v8 |
| 1857 | 1854 |
| 1858 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1855 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |