| 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/frames.h" | 10 #include "src/frames.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 STATIC_ASSERT(NUMBER_OF_CONSTRAINTS <= 8); | 45 STATIC_ASSERT(NUMBER_OF_CONSTRAINTS <= 8); |
| 46 | 46 |
| 47 class SmiOperationExecutionMode : public EnumSet<SmiOperationConstraint, byte> { | 47 class SmiOperationExecutionMode : public EnumSet<SmiOperationConstraint, byte> { |
| 48 public: | 48 public: |
| 49 SmiOperationExecutionMode() : EnumSet<SmiOperationConstraint, byte>(0) { } | 49 SmiOperationExecutionMode() : EnumSet<SmiOperationConstraint, byte>(0) { } |
| 50 explicit SmiOperationExecutionMode(byte bits) | 50 explicit SmiOperationExecutionMode(byte bits) |
| 51 : EnumSet<SmiOperationConstraint, byte>(bits) { } | 51 : EnumSet<SmiOperationConstraint, byte>(bits) { } |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 #ifdef DEBUG | 54 #if DCHECK_IS_ON |
| 55 bool AreAliased(Register reg1, | 55 bool AreAliased(Register reg1, |
| 56 Register reg2, | 56 Register reg2, |
| 57 Register reg3 = no_reg, | 57 Register reg3 = no_reg, |
| 58 Register reg4 = no_reg, | 58 Register reg4 = no_reg, |
| 59 Register reg5 = no_reg, | 59 Register reg5 = no_reg, |
| 60 Register reg6 = no_reg, | 60 Register reg6 = no_reg, |
| 61 Register reg7 = no_reg, | 61 Register reg7 = no_reg, |
| 62 Register reg8 = no_reg); | 62 Register reg8 = no_reg); |
| 63 #endif | 63 #endif |
| 64 | 64 |
| (...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1652 masm->popfq(); \ | 1652 masm->popfq(); \ |
| 1653 } \ | 1653 } \ |
| 1654 masm-> | 1654 masm-> |
| 1655 #else | 1655 #else |
| 1656 #define ACCESS_MASM(masm) masm-> | 1656 #define ACCESS_MASM(masm) masm-> |
| 1657 #endif | 1657 #endif |
| 1658 | 1658 |
| 1659 } } // namespace v8::internal | 1659 } } // namespace v8::internal |
| 1660 | 1660 |
| 1661 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1661 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |