| 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 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1028 // JavaScript invokes. | 1028 // JavaScript invokes. |
| 1029 | 1029 |
| 1030 // Invoke the JavaScript function code by either calling or jumping. | 1030 // Invoke the JavaScript function code by either calling or jumping. |
| 1031 void InvokeFunctionCode(Register function, Register new_target, | 1031 void InvokeFunctionCode(Register function, Register new_target, |
| 1032 const ParameterCount& expected, | 1032 const ParameterCount& expected, |
| 1033 const ParameterCount& actual, InvokeFlag flag, | 1033 const ParameterCount& actual, InvokeFlag flag, |
| 1034 const CallWrapper& call_wrapper); | 1034 const CallWrapper& call_wrapper); |
| 1035 | 1035 |
| 1036 // Invoke the JavaScript function in the given register. Changes the | 1036 // Invoke the JavaScript function in the given register. Changes the |
| 1037 // current context to the context in the function before invoking. | 1037 // current context to the context in the function before invoking. |
| 1038 void InvokeFunction(Register function, | 1038 void InvokeFunction(Register function, Register new_target, |
| 1039 Register new_target, | 1039 const ParameterCount& actual, InvokeFlag flag, |
| 1040 const ParameterCount& actual, | |
| 1041 InvokeFlag flag, | |
| 1042 const CallWrapper& call_wrapper); | 1040 const CallWrapper& call_wrapper); |
| 1043 | 1041 |
| 1044 void InvokeFunction(Register function, | 1042 void InvokeFunction(Register function, |
| 1045 const ParameterCount& expected, | 1043 const ParameterCount& expected, |
| 1046 const ParameterCount& actual, | 1044 const ParameterCount& actual, |
| 1047 InvokeFlag flag, | 1045 InvokeFlag flag, |
| 1048 const CallWrapper& call_wrapper); | 1046 const CallWrapper& call_wrapper); |
| 1049 | 1047 |
| 1050 void InvokeFunction(Handle<JSFunction> function, | 1048 void InvokeFunction(Handle<JSFunction> function, |
| 1051 const ParameterCount& expected, | 1049 const ParameterCount& expected, |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1848 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1846 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1849 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1847 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1850 #else | 1848 #else |
| 1851 #define ACCESS_MASM(masm) masm-> | 1849 #define ACCESS_MASM(masm) masm-> |
| 1852 #endif | 1850 #endif |
| 1853 | 1851 |
| 1854 } // namespace internal | 1852 } // namespace internal |
| 1855 } // namespace v8 | 1853 } // namespace v8 |
| 1856 | 1854 |
| 1857 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1855 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |