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

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

Issue 1272883003: [turbofan] Remove architecture-specific linkage files and LinkageTraits. Use macro-assembler-define… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months 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/mips64/assembler-mips64.h ('k') | src/ppc/assembler-ppc.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/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.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.
16 const Register kReturnRegister0 = {kRegister_v0_Code};
17 const Register kReturnRegister1 = {kRegister_v1_Code};
18 const Register kJSFunctionRegister = {kRegister_a1_Code};
19 const Register kContextRegister = {kRegister_s7_Code};
20 const Register kInterpreterBytecodeOffsetRegister = {kRegister_t0_Code};
21 const Register kInterpreterBytecodeArrayRegister = {kRegister_t1_Code};
22 const Register kInterpreterDispatchTableRegister = {kRegister_t2_Code};
23 const Register kRuntimeCallFunctionRegister = {kRegister_a1_Code};
24 const Register kRuntimeCallArgCountRegister = {kRegister_a0_Code};
25
15 // Forward declaration. 26 // Forward declaration.
16 class JumpTarget; 27 class JumpTarget;
17 28
18 // Reserved Register Usage Summary. 29 // Reserved Register Usage Summary.
19 // 30 //
20 // Registers t8, t9, and at are reserved for use by the MacroAssembler. 31 // Registers t8, t9, and at are reserved for use by the MacroAssembler.
21 // 32 //
22 // The programmer should know that the MacroAssembler may clobber these three, 33 // The programmer should know that the MacroAssembler may clobber these three,
23 // but won't touch other registers except in special cases. 34 // but won't touch other registers except in special cases.
24 // 35 //
(...skipping 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1829 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1840 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1830 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1841 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1831 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1842 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1832 #else 1843 #else
1833 #define ACCESS_MASM(masm) masm-> 1844 #define ACCESS_MASM(masm) masm->
1834 #endif 1845 #endif
1835 1846
1836 } } // namespace v8::internal 1847 } } // namespace v8::internal
1837 1848
1838 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1849 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.h ('k') | src/ppc/assembler-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698