| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "src/arm64/assembler-arm64.h" | 10 #include "src/arm64/assembler-arm64.h" |
| (...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1167 // 'function' must be x1. | 1167 // 'function' must be x1. |
| 1168 // 'actual' must use an immediate or x0. | 1168 // 'actual' must use an immediate or x0. |
| 1169 // 'expected' must use an immediate or x2. | 1169 // 'expected' must use an immediate or x2. |
| 1170 // 'call_kind' must be x5. | 1170 // 'call_kind' must be x5. |
| 1171 void InvokePrologue(const ParameterCount& expected, | 1171 void InvokePrologue(const ParameterCount& expected, |
| 1172 const ParameterCount& actual, | 1172 const ParameterCount& actual, |
| 1173 Label* done, | 1173 Label* done, |
| 1174 InvokeFlag flag, | 1174 InvokeFlag flag, |
| 1175 bool* definitely_mismatches, | 1175 bool* definitely_mismatches, |
| 1176 const CallWrapper& call_wrapper); | 1176 const CallWrapper& call_wrapper); |
| 1177 void InvokeCode(Register code, | 1177 void FloodFunctionIfStepping(Register fun, Register new_target, |
| 1178 Register new_target, | 1178 const ParameterCount& expected, |
| 1179 const ParameterCount& expected, | 1179 const ParameterCount& actual); |
| 1180 const ParameterCount& actual, | 1180 void InvokeFunctionCode(Register function, Register new_target, |
| 1181 InvokeFlag flag, | 1181 const ParameterCount& expected, |
| 1182 const CallWrapper& call_wrapper); | 1182 const ParameterCount& actual, InvokeFlag flag, |
| 1183 const CallWrapper& call_wrapper); |
| 1183 // Invoke the JavaScript function in the given register. | 1184 // Invoke the JavaScript function in the given register. |
| 1184 // Changes the current context to the context in the function before invoking. | 1185 // Changes the current context to the context in the function before invoking. |
| 1185 void InvokeFunction(Register function, | 1186 void InvokeFunction(Register function, |
| 1186 Register new_target, | 1187 Register new_target, |
| 1187 const ParameterCount& actual, | 1188 const ParameterCount& actual, |
| 1188 InvokeFlag flag, | 1189 InvokeFlag flag, |
| 1189 const CallWrapper& call_wrapper); | 1190 const CallWrapper& call_wrapper); |
| 1190 void InvokeFunction(Register function, | 1191 void InvokeFunction(Register function, |
| 1191 const ParameterCount& expected, | 1192 const ParameterCount& expected, |
| 1192 const ParameterCount& actual, | 1193 const ParameterCount& actual, |
| (...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2263 #error "Unsupported option" | 2264 #error "Unsupported option" |
| 2264 #define CODE_COVERAGE_STRINGIFY(x) #x | 2265 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2265 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2266 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2266 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2267 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2267 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2268 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2268 #else | 2269 #else |
| 2269 #define ACCESS_MASM(masm) masm-> | 2270 #define ACCESS_MASM(masm) masm-> |
| 2270 #endif | 2271 #endif |
| 2271 | 2272 |
| 2272 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2273 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |