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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 ExternalReference roots_array_start = | 964 ExternalReference roots_array_start = |
965 ExternalReference::roots_array_start(isolate()); | 965 ExternalReference::roots_array_start(isolate()); |
966 li(kRootRegister, Operand(roots_array_start)); | 966 li(kRootRegister, Operand(roots_array_start)); |
967 } | 967 } |
968 | 968 |
969 // ------------------------------------------------------------------------- | 969 // ------------------------------------------------------------------------- |
970 // JavaScript invokes. | 970 // JavaScript invokes. |
971 | 971 |
972 // Invoke the JavaScript function code by either calling or jumping. | 972 // Invoke the JavaScript function code by either calling or jumping. |
973 void InvokeCode(Register code, | 973 void InvokeCode(Register code, |
| 974 Register new_target, |
974 const ParameterCount& expected, | 975 const ParameterCount& expected, |
975 const ParameterCount& actual, | 976 const ParameterCount& actual, |
976 InvokeFlag flag, | 977 InvokeFlag flag, |
977 const CallWrapper& call_wrapper); | 978 const CallWrapper& call_wrapper); |
978 | 979 |
979 // Invoke the JavaScript function in the given register. Changes the | 980 // Invoke the JavaScript function in the given register. Changes the |
980 // current context to the context in the function before invoking. | 981 // current context to the context in the function before invoking. |
981 void InvokeFunction(Register function, | 982 void InvokeFunction(Register function, |
| 983 Register new_target, |
982 const ParameterCount& actual, | 984 const ParameterCount& actual, |
983 InvokeFlag flag, | 985 InvokeFlag flag, |
984 const CallWrapper& call_wrapper); | 986 const CallWrapper& call_wrapper); |
985 | 987 |
986 void InvokeFunction(Register function, | 988 void InvokeFunction(Register function, |
987 const ParameterCount& expected, | 989 const ParameterCount& expected, |
988 const ParameterCount& actual, | 990 const ParameterCount& actual, |
989 InvokeFlag flag, | 991 InvokeFlag flag, |
990 const CallWrapper& call_wrapper); | 992 const CallWrapper& call_wrapper); |
991 | 993 |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1756 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1758 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1757 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1759 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1758 #else | 1760 #else |
1759 #define ACCESS_MASM(masm) masm-> | 1761 #define ACCESS_MASM(masm) masm-> |
1760 #endif | 1762 #endif |
1761 | 1763 |
1762 } // namespace internal | 1764 } // namespace internal |
1763 } // namespace v8 | 1765 } // namespace v8 |
1764 | 1766 |
1765 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1767 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |