| 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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/frames.h" | 9 #include "src/frames.h" |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 Register reg5 = no_reg, | 51 Register reg5 = no_reg, |
| 52 Register reg6 = no_reg); | 52 Register reg6 = no_reg); |
| 53 | 53 |
| 54 | 54 |
| 55 #ifdef DEBUG | 55 #ifdef DEBUG |
| 56 bool AreAliased(Register reg1, | 56 bool AreAliased(Register reg1, |
| 57 Register reg2, | 57 Register reg2, |
| 58 Register reg3 = no_reg, | 58 Register reg3 = no_reg, |
| 59 Register reg4 = no_reg, | 59 Register reg4 = no_reg, |
| 60 Register reg5 = no_reg, | 60 Register reg5 = no_reg, |
| 61 Register reg6 = no_reg); | 61 Register reg6 = no_reg, |
| 62 Register reg7 = no_reg, |
| 63 Register reg8 = no_reg); |
| 62 #endif | 64 #endif |
| 63 | 65 |
| 64 | 66 |
| 65 enum TargetAddressStorageMode { | 67 enum TargetAddressStorageMode { |
| 66 CAN_INLINE_TARGET_ADDRESS, | 68 CAN_INLINE_TARGET_ADDRESS, |
| 67 NEVER_INLINE_TARGET_ADDRESS | 69 NEVER_INLINE_TARGET_ADDRESS |
| 68 }; | 70 }; |
| 69 | 71 |
| 70 // MacroAssembler implements a collection of frequently used macros. | 72 // MacroAssembler implements a collection of frequently used macros. |
| 71 class MacroAssembler: public Assembler { | 73 class MacroAssembler: public Assembler { |
| (...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1620 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1622 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1621 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1623 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1622 #else | 1624 #else |
| 1623 #define ACCESS_MASM(masm) masm-> | 1625 #define ACCESS_MASM(masm) masm-> |
| 1624 #endif | 1626 #endif |
| 1625 | 1627 |
| 1626 | 1628 |
| 1627 } } // namespace v8::internal | 1629 } } // namespace v8::internal |
| 1628 | 1630 |
| 1629 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1631 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |