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

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

Issue 1894063002: [Interpreter] Remove register file register and replace with LoadParentFramePointer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix gcc Created 4 years, 8 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/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.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_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 = {Register::kCode_eax}; 17 const Register kReturnRegister0 = {Register::kCode_eax};
18 const Register kReturnRegister1 = {Register::kCode_edx}; 18 const Register kReturnRegister1 = {Register::kCode_edx};
19 const Register kReturnRegister2 = {Register::kCode_edi}; 19 const Register kReturnRegister2 = {Register::kCode_edi};
20 const Register kJSFunctionRegister = {Register::kCode_edi}; 20 const Register kJSFunctionRegister = {Register::kCode_edi};
21 const Register kContextRegister = {Register::kCode_esi}; 21 const Register kContextRegister = {Register::kCode_esi};
22 const Register kInterpreterAccumulatorRegister = {Register::kCode_eax}; 22 const Register kInterpreterAccumulatorRegister = {Register::kCode_eax};
23 const Register kInterpreterRegisterFileRegister = {Register::kCode_edx};
24 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_ecx}; 23 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_ecx};
25 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_edi}; 24 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_edi};
26 const Register kInterpreterDispatchTableRegister = {Register::kCode_esi}; 25 const Register kInterpreterDispatchTableRegister = {Register::kCode_esi};
27 const Register kJavaScriptCallArgCountRegister = {Register::kCode_eax}; 26 const Register kJavaScriptCallArgCountRegister = {Register::kCode_eax};
28 const Register kJavaScriptCallNewTargetRegister = {Register::kCode_edx}; 27 const Register kJavaScriptCallNewTargetRegister = {Register::kCode_edx};
29 const Register kRuntimeCallFunctionRegister = {Register::kCode_ebx}; 28 const Register kRuntimeCallFunctionRegister = {Register::kCode_ebx};
30 const Register kRuntimeCallArgCountRegister = {Register::kCode_eax}; 29 const Register kRuntimeCallArgCountRegister = {Register::kCode_eax};
31 30
32 // Convenience for platform-independent signatures. We do not normally 31 // Convenience for platform-independent signatures. We do not normally
33 // distinguish memory operands from other operands on ia32. 32 // distinguish memory operands from other operands on ia32.
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 } \ 1065 } \
1067 masm-> 1066 masm->
1068 #else 1067 #else
1069 #define ACCESS_MASM(masm) masm-> 1068 #define ACCESS_MASM(masm) masm->
1070 #endif 1069 #endif
1071 1070
1072 } // namespace internal 1071 } // namespace internal
1073 } // namespace v8 1072 } // namespace v8
1074 1073
1075 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1074 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698