| 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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1202 // 'function' must be x1. | 1202 // 'function' must be x1. |
| 1203 // 'actual' must use an immediate or x0. | 1203 // 'actual' must use an immediate or x0. |
| 1204 // 'expected' must use an immediate or x2. | 1204 // 'expected' must use an immediate or x2. |
| 1205 // 'call_kind' must be x5. | 1205 // 'call_kind' must be x5. |
| 1206 void InvokePrologue(const ParameterCount& expected, | 1206 void InvokePrologue(const ParameterCount& expected, |
| 1207 const ParameterCount& actual, | 1207 const ParameterCount& actual, |
| 1208 Label* done, | 1208 Label* done, |
| 1209 InvokeFlag flag, | 1209 InvokeFlag flag, |
| 1210 bool* definitely_mismatches, | 1210 bool* definitely_mismatches, |
| 1211 const CallWrapper& call_wrapper); | 1211 const CallWrapper& call_wrapper); |
| 1212 void FloodFunctionIfStepping(Register fun, Register new_target, | 1212 |
| 1213 const ParameterCount& expected, | 1213 // On function call, call into the debugger if necessary. |
| 1214 const ParameterCount& actual); | 1214 void CheckDebugHook(Register fun, Register new_target, |
| 1215 const ParameterCount& expected, |
| 1216 const ParameterCount& actual); |
| 1215 void InvokeFunctionCode(Register function, Register new_target, | 1217 void InvokeFunctionCode(Register function, Register new_target, |
| 1216 const ParameterCount& expected, | 1218 const ParameterCount& expected, |
| 1217 const ParameterCount& actual, InvokeFlag flag, | 1219 const ParameterCount& actual, InvokeFlag flag, |
| 1218 const CallWrapper& call_wrapper); | 1220 const CallWrapper& call_wrapper); |
| 1219 // Invoke the JavaScript function in the given register. | 1221 // Invoke the JavaScript function in the given register. |
| 1220 // Changes the current context to the context in the function before invoking. | 1222 // Changes the current context to the context in the function before invoking. |
| 1221 void InvokeFunction(Register function, | 1223 void InvokeFunction(Register function, |
| 1222 Register new_target, | 1224 Register new_target, |
| 1223 const ParameterCount& actual, | 1225 const ParameterCount& actual, |
| 1224 InvokeFlag flag, | 1226 InvokeFlag flag, |
| (...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2185 class RegisterBits : public BitField<unsigned, 0, 5> {}; | 2187 class RegisterBits : public BitField<unsigned, 0, 5> {}; |
| 2186 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; | 2188 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; |
| 2187 }; | 2189 }; |
| 2188 | 2190 |
| 2189 } // namespace internal | 2191 } // namespace internal |
| 2190 } // namespace v8 | 2192 } // namespace v8 |
| 2191 | 2193 |
| 2192 #define ACCESS_MASM(masm) masm-> | 2194 #define ACCESS_MASM(masm) masm-> |
| 2193 | 2195 |
| 2194 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2196 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |