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 bool AreAliased(Register r1, Register r2, Register r3, Register r4); | 88 #ifdef DEBUG |
| 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 |
89 | 96 |
90 | 97 |
91 // MacroAssembler implements a collection of frequently used macros. | 98 // MacroAssembler implements a collection of frequently used macros. |
92 class MacroAssembler: public Assembler { | 99 class MacroAssembler: public Assembler { |
93 public: | 100 public: |
94 // The isolate parameter can be NULL if the macro assembler should | 101 // The isolate parameter can be NULL if the macro assembler should |
95 // not use isolate-dependent functionality. In this case, it's the | 102 // not use isolate-dependent functionality. In this case, it's the |
96 // responsibility of the caller to never invoke such function on the | 103 // responsibility of the caller to never invoke such function on the |
97 // macro assembler. | 104 // macro assembler. |
98 MacroAssembler(Isolate* isolate, void* buffer, int size); | 105 MacroAssembler(Isolate* isolate, void* buffer, int size); |
(...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1373 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1380 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1374 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1381 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1375 #else | 1382 #else |
1376 #define ACCESS_MASM(masm) masm-> | 1383 #define ACCESS_MASM(masm) masm-> |
1377 #endif | 1384 #endif |
1378 | 1385 |
1379 | 1386 |
1380 } } // namespace v8::internal | 1387 } } // namespace v8::internal |
1381 | 1388 |
1382 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1389 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |