| 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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 975 | 975 |
| 976 // Invoke the JavaScript function code by either calling or jumping. | 976 // Invoke the JavaScript function code by either calling or jumping. |
| 977 | 977 |
| 978 void InvokeFunctionCode(Register function, Register new_target, | 978 void InvokeFunctionCode(Register function, Register new_target, |
| 979 const ParameterCount& expected, | 979 const ParameterCount& expected, |
| 980 const ParameterCount& actual, InvokeFlag flag, | 980 const ParameterCount& actual, InvokeFlag flag, |
| 981 const CallWrapper& call_wrapper); | 981 const CallWrapper& call_wrapper); |
| 982 | 982 |
| 983 // Invoke the JavaScript function in the given register. Changes the | 983 // Invoke the JavaScript function in the given register. Changes the |
| 984 // current context to the context in the function before invoking. | 984 // current context to the context in the function before invoking. |
| 985 void InvokeFunction(Register function, | 985 void InvokeFunction(Register function, Register new_target, |
| 986 Register new_target, | 986 const ParameterCount& actual, InvokeFlag flag, |
| 987 const ParameterCount& actual, | |
| 988 InvokeFlag flag, | |
| 989 const CallWrapper& call_wrapper); | 987 const CallWrapper& call_wrapper); |
| 990 | 988 |
| 991 void InvokeFunction(Register function, | 989 void InvokeFunction(Register function, |
| 992 const ParameterCount& expected, | 990 const ParameterCount& expected, |
| 993 const ParameterCount& actual, | 991 const ParameterCount& actual, |
| 994 InvokeFlag flag, | 992 InvokeFlag flag, |
| 995 const CallWrapper& call_wrapper); | 993 const CallWrapper& call_wrapper); |
| 996 | 994 |
| 997 void InvokeFunction(Handle<JSFunction> function, | 995 void InvokeFunction(Handle<JSFunction> function, |
| 998 const ParameterCount& expected, | 996 const ParameterCount& expected, |
| (...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1754 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1752 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1755 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1753 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1756 #else | 1754 #else |
| 1757 #define ACCESS_MASM(masm) masm-> | 1755 #define ACCESS_MASM(masm) masm-> |
| 1758 #endif | 1756 #endif |
| 1759 | 1757 |
| 1760 } // namespace internal | 1758 } // namespace internal |
| 1761 } // namespace v8 | 1759 } // namespace v8 |
| 1762 | 1760 |
| 1763 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1761 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |