| 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/frames.h" | 10 #include "src/frames.h" |
| 10 #include "src/globals.h" | 11 #include "src/globals.h" |
| 11 | 12 |
| 12 namespace v8 { | 13 namespace v8 { |
| 13 namespace internal { | 14 namespace internal { |
| 14 | 15 |
| 15 // Default scratch register used by MacroAssembler (and other code that needs | 16 // Default scratch register used by MacroAssembler (and other code that needs |
| 16 // a spare register). The register isn't callee save, and not used by the | 17 // a spare register). The register isn't callee save, and not used by the |
| 17 // function calling convention. | 18 // function calling convention. |
| 18 const Register kScratchRegister = { 10 }; // r10. | 19 const Register kScratchRegister = { 10 }; // r10. |
| (...skipping 1621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1640 masm->popfq(); \ | 1641 masm->popfq(); \ |
| 1641 } \ | 1642 } \ |
| 1642 masm-> | 1643 masm-> |
| 1643 #else | 1644 #else |
| 1644 #define ACCESS_MASM(masm) masm-> | 1645 #define ACCESS_MASM(masm) masm-> |
| 1645 #endif | 1646 #endif |
| 1646 | 1647 |
| 1647 } } // namespace v8::internal | 1648 } } // namespace v8::internal |
| 1648 | 1649 |
| 1649 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1650 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |