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

Side by Side Diff: src/arm/macro-assembler-arm.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/arm/builtins-arm.cc ('k') | src/arm64/builtins-arm64.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_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
11 #include "src/globals.h" 11 #include "src/globals.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 // Give alias names to registers for calling conventions. 16 // Give alias names to registers for calling conventions.
17 const Register kReturnRegister0 = {kRegister_r0_Code}; 17 const Register kReturnRegister0 = {kRegister_r0_Code};
18 const Register kReturnRegister1 = {kRegister_r1_Code}; 18 const Register kReturnRegister1 = {kRegister_r1_Code};
19 const Register kJSFunctionRegister = {kRegister_r1_Code}; 19 const Register kJSFunctionRegister = {kRegister_r1_Code};
20 const Register kContextRegister = {kRegister_r7_Code}; 20 const Register kContextRegister = {kRegister_r7_Code};
21 const Register kInterpreterAccumulatorRegister = {kRegister_r0_Code};
22 const Register kInterpreterRegisterFileRegister = {kRegister_r4_Code};
21 const Register kInterpreterBytecodeOffsetRegister = {kRegister_r5_Code}; 23 const Register kInterpreterBytecodeOffsetRegister = {kRegister_r5_Code};
22 const Register kInterpreterBytecodeArrayRegister = {kRegister_r6_Code}; 24 const Register kInterpreterBytecodeArrayRegister = {kRegister_r6_Code};
23 const Register kInterpreterDispatchTableRegister = {kRegister_r8_Code}; 25 const Register kInterpreterDispatchTableRegister = {kRegister_r8_Code};
24 const Register kRuntimeCallFunctionRegister = {kRegister_r1_Code}; 26 const Register kRuntimeCallFunctionRegister = {kRegister_r1_Code};
25 const Register kRuntimeCallArgCountRegister = {kRegister_r0_Code}; 27 const Register kRuntimeCallArgCountRegister = {kRegister_r0_Code};
26 28
27 // ---------------------------------------------------------------------------- 29 // ----------------------------------------------------------------------------
28 // Static helper functions 30 // Static helper functions
29 31
30 // Generate a MemOperand for loading a field from an object. 32 // Generate a MemOperand for loading a field from an object.
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1577 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1576 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1578 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1577 #else 1579 #else
1578 #define ACCESS_MASM(masm) masm-> 1580 #define ACCESS_MASM(masm) masm->
1579 #endif 1581 #endif
1580 1582
1581 1583
1582 } } // namespace v8::internal 1584 } } // namespace v8::internal
1583 1585
1584 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1586 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698