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/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 void PrepareForTailCall(const ParameterCount& callee_args_count, | 1040 void PrepareForTailCall(const ParameterCount& callee_args_count, |
1041 Register caller_args_count_reg, Register scratch0, | 1041 Register caller_args_count_reg, Register scratch0, |
1042 Register scratch1); | 1042 Register scratch1); |
1043 | 1043 |
1044 // Invoke the JavaScript function code by either calling or jumping. | 1044 // Invoke the JavaScript function code by either calling or jumping. |
1045 void InvokeFunctionCode(Register function, Register new_target, | 1045 void InvokeFunctionCode(Register function, Register new_target, |
1046 const ParameterCount& expected, | 1046 const ParameterCount& expected, |
1047 const ParameterCount& actual, InvokeFlag flag, | 1047 const ParameterCount& actual, InvokeFlag flag, |
1048 const CallWrapper& call_wrapper); | 1048 const CallWrapper& call_wrapper); |
1049 | 1049 |
1050 void FloodFunctionIfStepping(Register fun, Register new_target, | 1050 // On function call, call into the debugger if necessary. |
1051 const ParameterCount& expected, | 1051 void CheckDebugHook(Register fun, Register new_target, |
1052 const ParameterCount& actual); | 1052 const ParameterCount& expected, |
| 1053 const ParameterCount& actual); |
1053 | 1054 |
1054 // Invoke the JavaScript function in the given register. Changes the | 1055 // Invoke the JavaScript function in the given register. Changes the |
1055 // current context to the context in the function before invoking. | 1056 // current context to the context in the function before invoking. |
1056 void InvokeFunction(Register function, | 1057 void InvokeFunction(Register function, |
1057 Register new_target, | 1058 Register new_target, |
1058 const ParameterCount& actual, | 1059 const ParameterCount& actual, |
1059 InvokeFlag flag, | 1060 InvokeFlag flag, |
1060 const CallWrapper& call_wrapper); | 1061 const CallWrapper& call_wrapper); |
1061 | 1062 |
1062 void InvokeFunction(Register function, | 1063 void InvokeFunction(Register function, |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1837 dd(GetLabelFunction(index)); | 1838 dd(GetLabelFunction(index)); |
1838 } | 1839 } |
1839 } | 1840 } |
1840 | 1841 |
1841 #define ACCESS_MASM(masm) masm-> | 1842 #define ACCESS_MASM(masm) masm-> |
1842 | 1843 |
1843 } // namespace internal | 1844 } // namespace internal |
1844 } // namespace v8 | 1845 } // namespace v8 |
1845 | 1846 |
1846 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1847 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |