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 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 // ------------------------------------------------------------------------- | 1013 // ------------------------------------------------------------------------- |
1014 // Exception handling. | 1014 // Exception handling. |
1015 | 1015 |
1016 // Push a new stack handler and link into stack handler chain. | 1016 // Push a new stack handler and link into stack handler chain. |
1017 void PushStackHandler(); | 1017 void PushStackHandler(); |
1018 | 1018 |
1019 // Unlink the stack handler on top of the stack from the stack handler chain. | 1019 // Unlink the stack handler on top of the stack from the stack handler chain. |
1020 // Must preserve the result register. | 1020 // Must preserve the result register. |
1021 void PopStackHandler(); | 1021 void PopStackHandler(); |
1022 | 1022 |
1023 // Copies a fixed number of fields of heap objects from src to dst. | |
1024 void CopyFields(Register dst, Register src, RegList temps, int field_count); | |
1025 | |
1026 // Copies a number of bytes from src to dst. All registers are clobbered. On | 1023 // Copies a number of bytes from src to dst. All registers are clobbered. On |
1027 // exit src and dst will point to the place just after where the last byte was | 1024 // exit src and dst will point to the place just after where the last byte was |
1028 // read or written and length will be zero. | 1025 // read or written and length will be zero. |
1029 void CopyBytes(Register src, | 1026 void CopyBytes(Register src, |
1030 Register dst, | 1027 Register dst, |
1031 Register length, | 1028 Register length, |
1032 Register scratch); | 1029 Register scratch); |
1033 | 1030 |
1034 // Initialize fields with filler values. Fields starting at |current_address| | 1031 // Initialize fields with filler values. Fields starting at |current_address| |
1035 // not including |end_address| are overwritten with the value in |filler|. At | 1032 // not including |end_address| are overwritten with the value in |filler|. At |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1758 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1755 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1759 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1756 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1760 #else | 1757 #else |
1761 #define ACCESS_MASM(masm) masm-> | 1758 #define ACCESS_MASM(masm) masm-> |
1762 #endif | 1759 #endif |
1763 | 1760 |
1764 } // namespace internal | 1761 } // namespace internal |
1765 } // namespace v8 | 1762 } // namespace v8 |
1766 | 1763 |
1767 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1764 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |