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 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 InvokeCode(Register code, | 1187 void InvokeCode(Register code, |
| 1188 Register new_target, |
1188 const ParameterCount& expected, | 1189 const ParameterCount& expected, |
1189 const ParameterCount& actual, | 1190 const ParameterCount& actual, |
1190 InvokeFlag flag, | 1191 InvokeFlag flag, |
1191 const CallWrapper& call_wrapper); | 1192 const CallWrapper& call_wrapper); |
1192 // Invoke the JavaScript function in the given register. | 1193 // Invoke the JavaScript function in the given register. |
1193 // 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. |
1194 void InvokeFunction(Register function, | 1195 void InvokeFunction(Register function, |
| 1196 Register new_target, |
1195 const ParameterCount& actual, | 1197 const ParameterCount& actual, |
1196 InvokeFlag flag, | 1198 InvokeFlag flag, |
1197 const CallWrapper& call_wrapper); | 1199 const CallWrapper& call_wrapper); |
1198 void InvokeFunction(Register function, | 1200 void InvokeFunction(Register function, |
1199 const ParameterCount& expected, | 1201 const ParameterCount& expected, |
1200 const ParameterCount& actual, | 1202 const ParameterCount& actual, |
1201 InvokeFlag flag, | 1203 InvokeFlag flag, |
1202 const CallWrapper& call_wrapper); | 1204 const CallWrapper& call_wrapper); |
1203 void InvokeFunction(Handle<JSFunction> function, | 1205 void InvokeFunction(Handle<JSFunction> function, |
1204 const ParameterCount& expected, | 1206 const ParameterCount& expected, |
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2284 #error "Unsupported option" | 2286 #error "Unsupported option" |
2285 #define CODE_COVERAGE_STRINGIFY(x) #x | 2287 #define CODE_COVERAGE_STRINGIFY(x) #x |
2286 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2288 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2287 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2289 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2288 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2290 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2289 #else | 2291 #else |
2290 #define ACCESS_MASM(masm) masm-> | 2292 #define ACCESS_MASM(masm) masm-> |
2291 #endif | 2293 #endif |
2292 | 2294 |
2293 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2295 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |