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 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 // ------------------------------------------------------------------------- | 1125 // ------------------------------------------------------------------------- |
1126 // Exception handling. | 1126 // Exception handling. |
1127 | 1127 |
1128 // Push a new stack handler and link into stack handler chain. | 1128 // Push a new stack handler and link into stack handler chain. |
1129 void PushStackHandler(); | 1129 void PushStackHandler(); |
1130 | 1130 |
1131 // Unlink the stack handler on top of the stack from the stack handler chain. | 1131 // Unlink the stack handler on top of the stack from the stack handler chain. |
1132 // Must preserve the result register. | 1132 // Must preserve the result register. |
1133 void PopStackHandler(); | 1133 void PopStackHandler(); |
1134 | 1134 |
1135 // Copies a number of bytes from src to dst. All registers are clobbered. On | |
1136 // exit src and dst will point to the place just after where the last byte was | |
1137 // read or written and length will be zero. | |
1138 void CopyBytes(Register src, | |
1139 Register dst, | |
1140 Register length, | |
1141 Register scratch); | |
1142 | |
1143 // Initialize fields with filler values. Fields starting at |current_address| | 1135 // Initialize fields with filler values. Fields starting at |current_address| |
1144 // not including |end_address| are overwritten with the value in |filler|. At | 1136 // not including |end_address| are overwritten with the value in |filler|. At |
1145 // the end the loop, |current_address| takes the value of |end_address|. | 1137 // the end the loop, |current_address| takes the value of |end_address|. |
1146 void InitializeFieldsWithFiller(Register current_address, | 1138 void InitializeFieldsWithFiller(Register current_address, |
1147 Register end_address, Register filler); | 1139 Register end_address, Register filler); |
1148 | 1140 |
1149 // ------------------------------------------------------------------------- | 1141 // ------------------------------------------------------------------------- |
1150 // Support functions. | 1142 // Support functions. |
1151 | 1143 |
1152 // Machine code version of Map::GetConstructor(). | 1144 // Machine code version of Map::GetConstructor(). |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1905 dd(GetLabelFunction(index)); | 1897 dd(GetLabelFunction(index)); |
1906 } | 1898 } |
1907 } | 1899 } |
1908 | 1900 |
1909 #define ACCESS_MASM(masm) masm-> | 1901 #define ACCESS_MASM(masm) masm-> |
1910 | 1902 |
1911 } // namespace internal | 1903 } // namespace internal |
1912 } // namespace v8 | 1904 } // namespace v8 |
1913 | 1905 |
1914 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1906 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |