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

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

Issue 1461973002: [turbofan] Make new.target explicit in JSCallDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/ia32/macro-assembler-ia32.h ('k') | src/mips64/macro-assembler-mips64.h » ('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"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 // Give alias names to registers for calling conventions. 15 // Give alias names to registers for calling conventions.
16 const Register kReturnRegister0 = {Register::kCode_v0}; 16 const Register kReturnRegister0 = {Register::kCode_v0};
17 const Register kReturnRegister1 = {Register::kCode_v1}; 17 const Register kReturnRegister1 = {Register::kCode_v1};
18 const Register kJSFunctionRegister = {Register::kCode_a1}; 18 const Register kJSFunctionRegister = {Register::kCode_a1};
19 const Register kContextRegister = {Register::kCpRegister}; 19 const Register kContextRegister = {Register::kCpRegister};
20 const Register kInterpreterAccumulatorRegister = {Register::kCode_v0}; 20 const Register kInterpreterAccumulatorRegister = {Register::kCode_v0};
21 const Register kInterpreterRegisterFileRegister = {Register::kCode_t3}; 21 const Register kInterpreterRegisterFileRegister = {Register::kCode_t3};
22 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_t4}; 22 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_t4};
23 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_t5}; 23 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_t5};
24 const Register kInterpreterDispatchTableRegister = {Register::kCode_t6}; 24 const Register kInterpreterDispatchTableRegister = {Register::kCode_t6};
25 const Register kJavaScriptCallArgCountRegister = {Register::kCode_a0}; 25 const Register kJavaScriptCallArgCountRegister = {Register::kCode_a0};
26 const Register kJavaScriptCallNewTargetRegister = {Register::kCode_a3};
26 const Register kRuntimeCallFunctionRegister = {Register::kCode_a1}; 27 const Register kRuntimeCallFunctionRegister = {Register::kCode_a1};
27 const Register kRuntimeCallArgCountRegister = {Register::kCode_a0}; 28 const Register kRuntimeCallArgCountRegister = {Register::kCode_a0};
28 29
29 // Forward declaration. 30 // Forward declaration.
30 class JumpTarget; 31 class JumpTarget;
31 32
32 // Reserved Register Usage Summary. 33 // Reserved Register Usage Summary.
33 // 34 //
34 // Registers t8, t9, and at are reserved for use by the MacroAssembler. 35 // Registers t8, t9, and at are reserved for use by the MacroAssembler.
35 // 36 //
(...skipping 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1762 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1763 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1763 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1764 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1764 #else 1765 #else
1765 #define ACCESS_MASM(masm) masm-> 1766 #define ACCESS_MASM(masm) masm->
1766 #endif 1767 #endif
1767 1768
1768 } // namespace internal 1769 } // namespace internal
1769 } // namespace v8 1770 } // namespace v8
1770 1771
1771 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1772 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.h ('k') | src/mips64/macro-assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698