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 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1177 // 'function' must be x1. | 1177 // 'function' must be x1. |
1178 // 'actual' must use an immediate or x0. | 1178 // 'actual' must use an immediate or x0. |
1179 // 'expected' must use an immediate or x2. | 1179 // 'expected' must use an immediate or x2. |
1180 // 'call_kind' must be x5. | 1180 // 'call_kind' must be x5. |
1181 void InvokePrologue(const ParameterCount& expected, | 1181 void InvokePrologue(const ParameterCount& expected, |
1182 const ParameterCount& actual, | 1182 const ParameterCount& actual, |
1183 Label* done, | 1183 Label* done, |
1184 InvokeFlag flag, | 1184 InvokeFlag flag, |
1185 bool* definitely_mismatches, | 1185 bool* definitely_mismatches, |
1186 const CallWrapper& call_wrapper); | 1186 const CallWrapper& call_wrapper); |
1187 void FloodFunctionIfStepping(Register fun, Register new_target, | 1187 void InvokeCode(Register code, |
1188 const ParameterCount& expected, | 1188 Register new_target, |
1189 const ParameterCount& actual); | 1189 const ParameterCount& expected, |
1190 void InvokeFunctionCode(Register function, Register new_target, | 1190 const ParameterCount& actual, |
1191 const ParameterCount& expected, | 1191 InvokeFlag flag, |
1192 const ParameterCount& actual, InvokeFlag flag, | 1192 const CallWrapper& call_wrapper); |
1193 const CallWrapper& call_wrapper); | |
1194 // Invoke the JavaScript function in the given register. | 1193 // Invoke the JavaScript function in the given register. |
1195 // Changes the current context to the context in the function before invoking. | 1194 // Changes the current context to the context in the function before invoking. |
1196 void InvokeFunction(Register function, | 1195 void InvokeFunction(Register function, |
1197 Register new_target, | 1196 Register new_target, |
1198 const ParameterCount& actual, | 1197 const ParameterCount& actual, |
1199 InvokeFlag flag, | 1198 InvokeFlag flag, |
1200 const CallWrapper& call_wrapper); | 1199 const CallWrapper& call_wrapper); |
1201 void InvokeFunction(Register function, | 1200 void InvokeFunction(Register function, |
1202 const ParameterCount& expected, | 1201 const ParameterCount& expected, |
1203 const ParameterCount& actual, | 1202 const ParameterCount& actual, |
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2287 #error "Unsupported option" | 2286 #error "Unsupported option" |
2288 #define CODE_COVERAGE_STRINGIFY(x) #x | 2287 #define CODE_COVERAGE_STRINGIFY(x) #x |
2289 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2288 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2290 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2289 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2291 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2290 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2292 #else | 2291 #else |
2293 #define ACCESS_MASM(masm) masm-> | 2292 #define ACCESS_MASM(masm) masm-> |
2294 #endif | 2293 #endif |
2295 | 2294 |
2296 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2295 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |