OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // Don't load NaNs or infinities, branch to the non number case instead. | 78 // Don't load NaNs or infinities, branch to the non number case instead. |
79 AVOID_NANS_AND_INFINITIES = 1 << 1 | 79 AVOID_NANS_AND_INFINITIES = 1 << 1 |
80 }; | 80 }; |
81 | 81 |
82 | 82 |
83 enum RememberedSetAction { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET }; | 83 enum RememberedSetAction { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET }; |
84 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK }; | 84 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK }; |
85 enum LinkRegisterStatus { kLRHasNotBeenSaved, kLRHasBeenSaved }; | 85 enum LinkRegisterStatus { kLRHasNotBeenSaved, kLRHasBeenSaved }; |
86 | 86 |
87 | 87 |
88 #ifdef DEBUG | 88 bool AreAliased(Register r1, Register r2, Register r3, Register r4); |
89 bool AreAliased(Register reg1, | |
90 Register reg2, | |
91 Register reg3 = no_reg, | |
92 Register reg4 = no_reg, | |
93 Register reg5 = no_reg, | |
94 Register reg6 = no_reg); | |
95 #endif | |
96 | 89 |
97 | 90 |
98 // MacroAssembler implements a collection of frequently used macros. | 91 // MacroAssembler implements a collection of frequently used macros. |
99 class MacroAssembler: public Assembler { | 92 class MacroAssembler: public Assembler { |
100 public: | 93 public: |
101 // The isolate parameter can be NULL if the macro assembler should | 94 // The isolate parameter can be NULL if the macro assembler should |
102 // not use isolate-dependent functionality. In this case, it's the | 95 // not use isolate-dependent functionality. In this case, it's the |
103 // responsibility of the caller to never invoke such function on the | 96 // responsibility of the caller to never invoke such function on the |
104 // macro assembler. | 97 // macro assembler. |
105 MacroAssembler(Isolate* isolate, void* buffer, int size); | 98 MacroAssembler(Isolate* isolate, void* buffer, int size); |
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1378 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1371 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1379 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1372 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1380 #else | 1373 #else |
1381 #define ACCESS_MASM(masm) masm-> | 1374 #define ACCESS_MASM(masm) masm-> |
1382 #endif | 1375 #endif |
1383 | 1376 |
1384 | 1377 |
1385 } } // namespace v8::internal | 1378 } } // namespace v8::internal |
1386 | 1379 |
1387 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1380 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |