| OLD | NEW |
| 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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
| 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" | 10 #include "src/base/flags.h" |
| 11 #include "src/frames.h" | 11 #include "src/frames.h" |
| 12 #include "src/globals.h" | 12 #include "src/globals.h" |
| 13 #include "src/x64/frames-x64.h" |
| 13 | 14 |
| 14 namespace v8 { | 15 namespace v8 { |
| 15 namespace internal { | 16 namespace internal { |
| 16 | 17 |
| 17 // Give alias names to registers for calling conventions. | 18 // Give alias names to registers for calling conventions. |
| 18 const Register kReturnRegister0 = {kRegister_rax_Code}; | 19 const Register kReturnRegister0 = {kRegister_rax_Code}; |
| 19 const Register kReturnRegister1 = {kRegister_rdx_Code}; | 20 const Register kReturnRegister1 = {kRegister_rdx_Code}; |
| 20 const Register kJSFunctionRegister = {kRegister_rdi_Code}; | 21 const Register kJSFunctionRegister = {kRegister_rdi_Code}; |
| 21 const Register kContextRegister = {kRegister_rsi_Code}; | 22 const Register kContextRegister = {kRegister_rsi_Code}; |
| 22 const Register kInterpreterBytecodeOffsetRegister = {kRegister_r12_Code}; | 23 const Register kInterpreterBytecodeOffsetRegister = {kRegister_r12_Code}; |
| (...skipping 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1621 masm->popfq(); \ | 1622 masm->popfq(); \ |
| 1622 } \ | 1623 } \ |
| 1623 masm-> | 1624 masm-> |
| 1624 #else | 1625 #else |
| 1625 #define ACCESS_MASM(masm) masm-> | 1626 #define ACCESS_MASM(masm) masm-> |
| 1626 #endif | 1627 #endif |
| 1627 | 1628 |
| 1628 } } // namespace v8::internal | 1629 } } // namespace v8::internal |
| 1629 | 1630 |
| 1630 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1631 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |