Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 1460503008: [turbofan] Switch passing of new.target to register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-pass-new-target-6
Patch Set: Ported to MIPS64. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698