| 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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 void PrepareForTailCall(const ParameterCount& callee_args_count, | 1093 void PrepareForTailCall(const ParameterCount& callee_args_count, |
| 1094 Register caller_args_count_reg, Register scratch0, | 1094 Register caller_args_count_reg, Register scratch0, |
| 1095 Register scratch1); | 1095 Register scratch1); |
| 1096 | 1096 |
| 1097 // Invoke the JavaScript function code by either calling or jumping. | 1097 // Invoke the JavaScript function code by either calling or jumping. |
| 1098 void InvokeFunctionCode(Register function, Register new_target, | 1098 void InvokeFunctionCode(Register function, Register new_target, |
| 1099 const ParameterCount& expected, | 1099 const ParameterCount& expected, |
| 1100 const ParameterCount& actual, InvokeFlag flag, | 1100 const ParameterCount& actual, InvokeFlag flag, |
| 1101 const CallWrapper& call_wrapper); | 1101 const CallWrapper& call_wrapper); |
| 1102 | 1102 |
| 1103 void FloodFunctionIfStepping(Register fun, Register new_target, | 1103 // On function call, call into the debugger if necessary. |
| 1104 const ParameterCount& expected, | 1104 void CheckDebugHook(Register fun, Register new_target, |
| 1105 const ParameterCount& actual); | 1105 const ParameterCount& expected, |
| 1106 const ParameterCount& actual); |
| 1106 | 1107 |
| 1107 // Invoke the JavaScript function in the given register. Changes the | 1108 // Invoke the JavaScript function in the given register. Changes the |
| 1108 // current context to the context in the function before invoking. | 1109 // current context to the context in the function before invoking. |
| 1109 void InvokeFunction(Register function, | 1110 void InvokeFunction(Register function, |
| 1110 Register new_target, | 1111 Register new_target, |
| 1111 const ParameterCount& actual, | 1112 const ParameterCount& actual, |
| 1112 InvokeFlag flag, | 1113 InvokeFlag flag, |
| 1113 const CallWrapper& call_wrapper); | 1114 const CallWrapper& call_wrapper); |
| 1114 | 1115 |
| 1115 void InvokeFunction(Register function, | 1116 void InvokeFunction(Register function, |
| (...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1981 dd(GetLabelFunction(index)); | 1982 dd(GetLabelFunction(index)); |
| 1982 } | 1983 } |
| 1983 } | 1984 } |
| 1984 | 1985 |
| 1985 #define ACCESS_MASM(masm) masm-> | 1986 #define ACCESS_MASM(masm) masm-> |
| 1986 | 1987 |
| 1987 } // namespace internal | 1988 } // namespace internal |
| 1988 } // namespace v8 | 1989 } // namespace v8 |
| 1989 | 1990 |
| 1990 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1991 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |