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

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

Issue 1410393004: X87: Re-reland: Remove register index/code indirection. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/x87/deoptimizer-x87.cc ('k') | test/cctest/test-code-stubs-x87.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_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_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_eax_Code}; 17 const Register kReturnRegister0 = {Register::kCode_eax};
18 const Register kReturnRegister1 = {kRegister_edx_Code}; 18 const Register kReturnRegister1 = {Register::kCode_edx};
19 const Register kJSFunctionRegister = {kRegister_edi_Code}; 19 const Register kJSFunctionRegister = {Register::kCode_edi};
20 const Register kContextRegister = {kRegister_esi_Code}; 20 const Register kContextRegister = {Register::kCode_esi};
21 const Register kInterpreterAccumulatorRegister = {kRegister_eax_Code}; 21 const Register kInterpreterAccumulatorRegister = {Register::kCode_eax};
22 const Register kInterpreterRegisterFileRegister = {kRegister_edx_Code}; 22 const Register kInterpreterRegisterFileRegister = {Register::kCode_edx};
23 const Register kInterpreterBytecodeOffsetRegister = {kRegister_ecx_Code}; 23 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_ecx};
24 const Register kInterpreterBytecodeArrayRegister = {kRegister_edi_Code}; 24 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_edi};
25 const Register kRuntimeCallFunctionRegister = {kRegister_ebx_Code}; 25 const Register kRuntimeCallFunctionRegister = {Register::kCode_ebx};
26 const Register kRuntimeCallArgCountRegister = {kRegister_eax_Code}; 26 const Register kRuntimeCallArgCountRegister = {Register::kCode_eax};
27 27
28 // Spill slots used by interpreter dispatch calling convention. 28 // Spill slots used by interpreter dispatch calling convention.
29 const int kInterpreterDispatchTableSpillSlot = -1; 29 const int kInterpreterDispatchTableSpillSlot = -1;
30 30
31 // Convenience for platform-independent signatures. We do not normally 31 // Convenience for platform-independent signatures. We do not normally
32 // distinguish memory operands from other operands on ia32. 32 // distinguish memory operands from other operands on ia32.
33 typedef Operand MemOperand; 33 typedef Operand MemOperand;
34 34
35 enum RememberedSetAction { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET }; 35 enum RememberedSetAction { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET };
36 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK }; 36 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK };
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 masm-> 1079 masm->
1080 #else 1080 #else
1081 #define ACCESS_MASM(masm) masm-> 1081 #define ACCESS_MASM(masm) masm->
1082 #endif 1082 #endif
1083 1083
1084 1084
1085 } // namespace internal 1085 } // namespace internal
1086 } // namespace v8 1086 } // namespace v8
1087 1087
1088 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1088 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x87/deoptimizer-x87.cc ('k') | test/cctest/test-code-stubs-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698