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

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

Issue 1289863003: [interpreter]: Changes to interpreter builtins for accumulator and register file registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix_interpreter_initialization
Patch Set: Rename incoming_accumulator 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/mips/builtins-mips.cc ('k') | src/mips64/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 = {kRegister_v0_Code}; 16 const Register kReturnRegister0 = {kRegister_v0_Code};
17 const Register kReturnRegister1 = {kRegister_v1_Code}; 17 const Register kReturnRegister1 = {kRegister_v1_Code};
18 const Register kJSFunctionRegister = {kRegister_a1_Code}; 18 const Register kJSFunctionRegister = {kRegister_a1_Code};
19 const Register kContextRegister = {Register::kCpRegister}; 19 const Register kContextRegister = {Register::kCpRegister};
20 const Register kInterpreterAccumulatorRegister = {kRegister_v0_Code};
21 const Register kInterpreterRegisterFileRegister = {kRegister_t3_Code};
20 const Register kInterpreterBytecodeOffsetRegister = {kRegister_t4_Code}; 22 const Register kInterpreterBytecodeOffsetRegister = {kRegister_t4_Code};
21 const Register kInterpreterBytecodeArrayRegister = {kRegister_t5_Code}; 23 const Register kInterpreterBytecodeArrayRegister = {kRegister_t5_Code};
22 const Register kInterpreterDispatchTableRegister = {kRegister_t6_Code}; 24 const Register kInterpreterDispatchTableRegister = {kRegister_t6_Code};
23 const Register kRuntimeCallFunctionRegister = {kRegister_a1_Code}; 25 const Register kRuntimeCallFunctionRegister = {kRegister_a1_Code};
24 const Register kRuntimeCallArgCountRegister = {kRegister_a0_Code}; 26 const Register kRuntimeCallArgCountRegister = {kRegister_a0_Code};
25 27
26 // Forward declaration. 28 // Forward declaration.
27 class JumpTarget; 29 class JumpTarget;
28 30
29 // Reserved Register Usage Summary. 31 // Reserved Register Usage Summary.
(...skipping 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1754 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1756 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1755 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1757 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1756 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1758 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1757 #else 1759 #else
1758 #define ACCESS_MASM(masm) masm-> 1760 #define ACCESS_MASM(masm) masm->
1759 #endif 1761 #endif
1760 1762
1761 } } // namespace v8::internal 1763 } } // namespace v8::internal
1762 1764
1763 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1765 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips64/assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698