| 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 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1183 // ------------------------------------------------------------------------- | 1183 // ------------------------------------------------------------------------- |
| 1184 // Exception handling. | 1184 // Exception handling. |
| 1185 | 1185 |
| 1186 // Push a new stack handler and link into stack handler chain. | 1186 // Push a new stack handler and link into stack handler chain. |
| 1187 void PushStackHandler(); | 1187 void PushStackHandler(); |
| 1188 | 1188 |
| 1189 // Unlink the stack handler on top of the stack from the stack handler chain. | 1189 // Unlink the stack handler on top of the stack from the stack handler chain. |
| 1190 // Must preserve the result register. | 1190 // Must preserve the result register. |
| 1191 void PopStackHandler(); | 1191 void PopStackHandler(); |
| 1192 | 1192 |
| 1193 // Copies a number of bytes from src to dst. All registers are clobbered. On | |
| 1194 // exit src and dst will point to the place just after where the last byte was | |
| 1195 // read or written and length will be zero. | |
| 1196 void CopyBytes(Register src, | |
| 1197 Register dst, | |
| 1198 Register length, | |
| 1199 Register scratch); | |
| 1200 | |
| 1201 // Initialize fields with filler values. Fields starting at |current_address| | 1193 // Initialize fields with filler values. Fields starting at |current_address| |
| 1202 // not including |end_address| are overwritten with the value in |filler|. At | 1194 // not including |end_address| are overwritten with the value in |filler|. At |
| 1203 // the end the loop, |current_address| takes the value of |end_address|. | 1195 // the end the loop, |current_address| takes the value of |end_address|. |
| 1204 void InitializeFieldsWithFiller(Register current_address, | 1196 void InitializeFieldsWithFiller(Register current_address, |
| 1205 Register end_address, Register filler); | 1197 Register end_address, Register filler); |
| 1206 | 1198 |
| 1207 // ------------------------------------------------------------------------- | 1199 // ------------------------------------------------------------------------- |
| 1208 // Support functions. | 1200 // Support functions. |
| 1209 | 1201 |
| 1210 // Machine code version of Map::GetConstructor(). | 1202 // Machine code version of Map::GetConstructor(). |
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2052 dd(GetLabelFunction(index)); | 2044 dd(GetLabelFunction(index)); |
| 2053 } | 2045 } |
| 2054 } | 2046 } |
| 2055 | 2047 |
| 2056 #define ACCESS_MASM(masm) masm-> | 2048 #define ACCESS_MASM(masm) masm-> |
| 2057 | 2049 |
| 2058 } // namespace internal | 2050 } // namespace internal |
| 2059 } // namespace v8 | 2051 } // namespace v8 |
| 2060 | 2052 |
| 2061 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 2053 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |